Devizes

Devizes, Roundway, Wiltshire, South West England, England, United Kingdom
category: boundary — type: administrative — OSM: relation 3404438

Overpass

[timeout:600][out:xml][bbox:51.333043,-2.025880,51.385141,-1.963268];
area(3603404438) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(casino|pub|parking|fountain|school|restaurant|shelter|bank|marketplace|cinema|telephone|public_building|library|place_of_worship|hospital|townhall)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:man_made"~"^(bridge|geoglyph)$"];
nwr(area.a)["abandoned:railway"="station"];
nwr(area.a)["abandoned:shop"];
nwr(area.a)["abandoned:tourism"~"^(museum|hotel|attraction|guest_house|artwork|hostel)$"];
nwr(area.a)["admin_level"];
nwr(area.a)["amenity"~"^(fountain|cinema|hospital|pub|place_of_worship|clinic|casino|bank|parking|library|townhall|telephone|school|restaurant|public_building|marketplace|theatre|shelter)$"];
nwr(area.a)["barrier"~"^(wall|gate|retaining_wall)$"];
nwr(area.a)["boundary"~"^(administrative|civil_parish)$"];
nwr(area.a)["bridge"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["demolished:amenity"~"^(bank|school|fountain|public_building|hospital|townhall|shelter|pub|library|telephone|place_of_worship|cinema|restaurant|parking|casino|marketplace)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:man_made"~"^(geoglyph|bridge)$"];
nwr(area.a)["demolished:railway"="station"];
nwr(area.a)["demolished:shop"];
nwr(area.a)["demolished:tourism"~"^(hotel|attraction|hostel|museum|guest_house|artwork)$"];
nwr(area.a)["designation"~"^(civil_parish|non_metropolitan_district)$"];
nwr(area.a)["destroyed:amenity"~"^(telephone|library|parking|marketplace|townhall|fountain|public_building|shelter|school|restaurant|bank|hospital|pub|place_of_worship|cinema|casino)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:man_made"~"^(geoglyph|bridge)$"];
nwr(area.a)["destroyed:railway"="station"];
nwr(area.a)["destroyed:shop"];
nwr(area.a)["destroyed:tourism"~"^(attraction|hotel|artwork|guest_house|hostel|museum)$"];
nwr(area.a)["disused:amenity"~"^(parking|place_of_worship|public_building|restaurant|cinema|marketplace|fountain|casino|school|telephone|pub|townhall|shelter|hospital|bank|library)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:man_made"~"^(geoglyph|bridge)$"];
nwr(area.a)["disused:railway"="station"];
nwr(area.a)["disused:shop"];
nwr(area.a)["disused:tourism"~"^(artwork|hotel|museum|attraction|guest_house|hostel)$"];
nwr(area.a)["door"];
nwr(area.a)["gambling"="bingo"];
nwr(area.a)["healthcare"="hospital"];
nwr(area.a)["heritage"];
nwr(area.a)["highway"="street_lamp"];
nwr(area.a)["historic"~"^(gate|milestone|folly|memorial|castle|heritage|city_gate|monument)$"];
nwr(area.a)["historic:amenity"~"^(pub|school|parking|bank|public_building|hospital|library|cinema|townhall|telephone|fountain|shelter|marketplace|casino|place_of_worship|restaurant)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:man_made"~"^(bridge|geoglyph)$"];
nwr(area.a)["historic:railway"="station"];
nwr(area.a)["historic:shop"];
nwr(area.a)["historic:tourism"~"^(hotel|museum|artwork|hostel|guest_house|attraction)$"];
nwr(area.a)["landuse"];
nwr(area.a)["leisure"="bingo"];
nwr(area.a)["man_made"~"^(bridge|geoglyph)$"];
nwr(area.a)["megalith_type"="round_barrow"];
nwr(area.a)["military"="barracks"];
nwr(area.a)["museum"~"^(history|local)$"];
nwr(area.a)["office"];
nwr(area.a)["operator:type"="ngo"];
nwr(area.a)["place"~"^(village|town|city|locality|district)$"];
nwr(area.a)["protect_class"="22"];
nwr(area.a)["public_transport"="station"];
nwr(area.a)["railway"="station"];
nwr(area.a)["religion"="christian"];
nwr(area.a)["ruins:amenity"~"^(fountain|pub|casino|place_of_worship|telephone|townhall|hospital|public_building|bank|school|parking|cinema|marketplace|shelter|restaurant|library)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:man_made"~"^(geoglyph|bridge)$"];
nwr(area.a)["ruins:railway"="station"];
nwr(area.a)["ruins:shop"];
nwr(area.a)["ruins:tourism"~"^(hostel|guest_house|artwork|hotel|museum|attraction)$"];
nwr(area.a)["shop"];
nwr(area.a)["tomb"="tumulus"];
nwr(area.a)["tourism"~"^(hostel|museum|artwork|guest_house|hotel|attraction)$"];
nwr(area.a)["was:amenity"~"^(cinema|fountain|shelter|casino|restaurant|public_building|hospital|school|marketplace|library|pub|bank|place_of_worship|townhall|telephone|parking)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:man_made"~"^(bridge|geoglyph)$"];
nwr(area.a)["was:railway"="station"];
nwr(area.a)["was:shop"];
nwr(area.a)["was:tourism"~"^(hotel|hostel|attraction|guest_house|museum|artwork)$"];
) -> .b;
(
        rel(3404438);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;