Newmarket

Newmarket, West Suffolk, Suffolk, England, United Kingdom
category: boundary — type: administrative — OSM: relation 4458830

Overpass

[timeout:600][out:xml][bbox:52.226541,0.342656,52.269022,0.426937];
area(3604458830) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(pub|fountain|school|events_venue|college|shelter|bank|stables|community_centre|cinema|public_building|drinking_water|place_of_worship)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(stadium|sports_centre)$"];
nwr(area.a)["abandoned:railway"~"^(tram_stop|facility|station|historic_station|halt)$"];
nwr(area.a)["abandoned:tourism"~"^(museum|hotel|attraction|artwork)$"];
nwr(area.a)["admin_level"];
nwr(area.a)["aeroway"];
nwr(area.a)["amenity"~"^(stables|fountain|cinema|pub|place_of_worship|bank|drinking_water|events_venue|school|public_building|community_centre|college|theatre|shelter)$"];
nwr(area.a)["artwork:type"="sculpture"];
nwr(area.a)["artwork_type"="sculpture"];
nwr(area.a)["barrier"~"^(wall|gate)$"];
nwr(area.a)["boundary"~"^(administrative|civil_parish)$"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["demolished"];
nwr(area.a)["demolished:amenity"~"^(bank|school|fountain|public_building|college|shelter|stables|pub|place_of_worship|cinema|events_venue|drinking_water|community_centre)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:leisure"~"^(stadium|sports_centre)$"];
nwr(area.a)["demolished:railway"~"^(halt|station|facility|historic_station|tram_stop)$"];
nwr(area.a)["demolished:tourism"~"^(hotel|attraction|museum|artwork)$"];
nwr(area.a)["designation"="civil_parish"];
nwr(area.a)["destroyed"];
nwr(area.a)["destroyed:amenity"~"^(college|fountain|drinking_water|public_building|shelter|school|bank|community_centre|stables|pub|place_of_worship|cinema|events_venue)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(sports_centre|stadium)$"];
nwr(area.a)["destroyed:railway"~"^(historic_station|station|facility|tram_stop|halt)$"];
nwr(area.a)["destroyed:tourism"~"^(attraction|hotel|artwork|museum)$"];
nwr(area.a)["disused:amenity"~"^(place_of_worship|public_building|cinema|stables|fountain|drinking_water|school|pub|events_venue|community_centre|shelter|college|bank)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:leisure"~"^(stadium|sports_centre)$"];
nwr(area.a)["disused:railway"~"^(tram_stop|facility|station|halt|historic_station)$"];
nwr(area.a)["disused:tourism"~"^(artwork|hotel|museum|attraction)$"];
nwr(area.a)["fountain"];
nwr(area.a)["heritage"];
nwr(area.a)["historic"~"^(gate|folly|memorial|heritage|city_gate|monument)$"];
nwr(area.a)["historic:amenity"~"^(pub|school|stables|bank|public_building|cinema|community_centre|fountain|shelter|college|drinking_water|place_of_worship|events_venue)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:leisure"~"^(sports_centre|stadium)$"];
nwr(area.a)["historic:railway"~"^(station|facility|historic_station|halt|tram_stop)$"];
nwr(area.a)["historic:tourism"~"^(hotel|museum|artwork|attraction)$"];
nwr(area.a)["indoor"];
nwr(area.a)["landuse"~"^(railway|greenhouse_horticulture|military|recreation_ground|residential)$"];
nwr(area.a)["leisure"~"^(sports_centre|stadium)$"];
nwr(area.a)["memorial"];
nwr(area.a)["military"];
nwr(area.a)["museum"];
nwr(area.a)["museum_type"="national"];
nwr(area.a)["office"="association"];
nwr(area.a)["operator:type"="ngo"];
nwr(area.a)["place"];
nwr(area.a)["protect_class"="22"];
nwr(area.a)["public_transport"~"^(station|stop_position|stop_area)$"];
nwr(area.a)["railway"~"^(halt|facility|tram_stop|station|historic_station)$"];
nwr(area.a)["razed"];
nwr(area.a)["religion"="christian"];
nwr(area.a)["ruins:amenity"~"^(fountain|pub|drinking_water|place_of_worship|college|community_centre|public_building|bank|school|cinema|stables|shelter|events_venue)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(sports_centre|stadium)$"];
nwr(area.a)["ruins:railway"~"^(station|historic_station|halt|tram_stop|facility)$"];
nwr(area.a)["ruins:tourism"~"^(artwork|hotel|museum|attraction)$"];
nwr(area.a)["service"];
rel(area.a)["site"~"^(railway|military|station|school|railway_station)$"];
nwr(area.a)["sport"];
nwr(area.a)["support"];
nwr(area.a)["tourism"~"^(hostel|museum|artwork|guest_house|hotel|attraction)$"];
rel(area.a)["type"="site"];
nwr(area.a)["was:amenity"~"^(cinema|community_centre|fountain|shelter|public_building|events_venue|stables|school|college|pub|bank|place_of_worship|drinking_water)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:leisure"~"^(sports_centre|stadium)$"];
nwr(area.a)["was:railway"~"^(facility|station|historic_station|halt|tram_stop)$"];
nwr(area.a)["was:tourism"~"^(hotel|attraction|museum|artwork)$"];
) -> .b;
(
        rel(4458830);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;