City of London

City of London, Greater London, England, United Kingdom
category: boundary — type: administrative — OSM: relation 51800

Overpass

[timeout:600][out:xml][bbox:51.506871,-0.113830,51.523312,-0.072762];
area(3600051800) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(monastery|school|college|music_venue|bank|marketplace|music_school|cinema|arts_centre|market|library|post_box|bar|post_office|village_hall|fast_food|sauna|feeding_place|restaurant|bus_station|stock_exchange|prison|townhall|courthouse|archive|pub|police|clock|grave_yard|telephone|theatre|public_building|drinking_water|university|public_bath|hospital|fountain|concert_hall|events_venue|shelter|cafe|community_centre|conference_centre|nightclub|place_of_worship)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(park|social_club|sauna|garden|common)$"];
nwr(area.a)["abandoned:man_made"~"^(works|pier|quay|cross|mineshaft|tower|bridge)$"];
nwr(area.a)["abandoned:railway"];
nwr(area.a)["abandoned:shop"];
nwr(area.a)["abandoned:tourism"];
nwr(area.a)["addr"="city"];
nwr(area.a)["admin_level"];
nwr(area.a)["aerialway"];
nwr(area.a)["amenity"~"^(prison|place_of_worship|feeding_place|courthouse|stock_exchange|archive|library|post_office|telephone|cafe|restaurant|market|fountain|cinema|sauna|monastery|conference_centre|drinking_water|events_venue|post_box|bar|school|public_building|music_venue|shelter|concert_hall|grave_yard|bank|social_facility|clock|townhall|arts_centre|bus_station|college|public_bath|theatre|music_school|hospital|pub|nightclub|village_hall|university|police|marketplace|community_centre|fast_food)$"];
nwr(area.a)["area"="yes"];
nwr(area.a)["artwork:type"="sculpture"];
nwr(area.a)["artwork_type"~"^(statue|architecture|sculpture|mural)$"];
nwr(area.a)["bar"];
nwr(area.a)["barrier"~"^(wall|gate)$"];
nwr(area.a)["booth"];
nwr(area.a)["border_type"~"^(city|county)$"];
nwr(area.a)["boundary"~"^(ceremonial|national_park|civil_parish|administrative)$"];
nwr(area.a)["brand"];
nwr(area.a)["brewery"];
nwr(area.a)["bridge"];
nwr(area.a)["bridge:structure"~"^(suspension|beam|arch)$"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["castle_type"="fortress"];
nwr(area.a)["club"];
nwr(area.a)["community_centre"="club_home"];
nwr(area.a)["covered"="booth"];
nwr(area.a)["craft"="brewery"];
nwr(area.a)["cuisine"];
nwr(area.a)["demolished"];
nwr(area.a)["demolished:amenity"~"^(bank|arts_centre|fountain|stock_exchange|public_building|hospital|conference_centre|shelter|pub|telephone|cinema|events_venue|theatre|restaurant|drinking_water|courthouse|community_centre|fast_food|post_box|prison|public_bath|monastery|village_hall|post_office|bar|police|music_venue|library|bus_station|cafe|place_of_worship|nightclub|concert_hall|school|music_school|college|townhall|archive|university|clock|grave_yard|sauna|feeding_place|market|marketplace)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:leisure"~"^(park|common|social_club|garden|sauna)$"];
nwr(area.a)["demolished:man_made"~"^(mineshaft|quay|pier|tower|cross|bridge|works)$"];
nwr(area.a)["demolished:railway"];
nwr(area.a)["demolished:shop"];
nwr(area.a)["demolished:tourism"];
nwr(area.a)["denomination"~"^(samaritan|protestant|anglican)$"];
nwr(area.a)["designation"="civil_parish"];
nwr(area.a)["destroyed"];
nwr(area.a)["destroyed:amenity"~"^(theatre|bus_station|police|fast_food|market|shelter|conference_centre|university|village_hall|bank|feeding_place|grave_yard|community_centre|bar|pub|music_venue|events_venue|public_bath|prison|library|marketplace|cafe|public_building|school|post_box|cinema|telephone|arts_centre|college|drinking_water|restaurant|clock|place_of_worship|sauna|concert_hall|nightclub|archive|townhall|fountain|monastery|stock_exchange|post_office|courthouse|hospital|music_school)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(sauna|garden|social_club|park|common)$"];
nwr(area.a)["destroyed:man_made"~"^(bridge|mineshaft|quay|works|cross|tower|pier)$"];
nwr(area.a)["destroyed:railway"];
nwr(area.a)["destroyed:shop"];
nwr(area.a)["destroyed:tourism"];
nwr(area.a)["disused"="station"];
nwr(area.a)["disused:amenity"~"^(music_school|restaurant|marketplace|arts_centre|nightclub|community_centre|archive|library|courthouse|prison|market|fountain|university|drinking_water|public_bath|post_box|grave_yard|bank|sauna|place_of_worship|public_building|music_venue|school|bus_station|post_office|townhall|conference_centre|events_venue|shelter|police|college|theatre|monastery|cafe|bar|feeding_place|cinema|concert_hall|village_hall|clock|telephone|pub|fast_food|stock_exchange|hospital)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:leisure"~"^(garden|park|common|social_club|sauna)$"];
nwr(area.a)["disused:man_made"~"^(cross|pier|bridge|works|quay|tower|mineshaft)$"];
nwr(area.a)["disused:railway"];
nwr(area.a)["disused:shop"];
nwr(area.a)["disused:tourism"];
nwr(area.a)["drinking_water"];
nwr(area.a)["foot"="yes"];
nwr(area.a)["footway"];
nwr(area.a)["fountain"];
nwr(area.a)["furniture"];
nwr(area.a)["government"];
nwr(area.a)["harbour"];
nwr(area.a)["healthcare"="hospital"];
nwr(area.a)["height"];
nwr(area.a)["heritage"];
nwr(area.a)["highway"~"^(pedestrian|bus_stop|street_lamp|footway)$"];
nwr(area.a)["historic"];
nwr(area.a)["historic:amenity"~"^(village_hall|library|clock|music_school|arts_centre|sauna|monastery|market|university|cafe|school|theatre|public_bath|nightclub|cinema|townhall|archive|feeding_place|stock_exchange|place_of_worship|conference_centre|bank|hospital|bar|fountain|shelter|college|police|bus_station|marketplace|prison|fast_food|grave_yard|events_venue|restaurant|pub|public_building|community_centre|telephone|concert_hall|music_venue|post_office|drinking_water|courthouse|post_box)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:leisure"~"^(common|sauna|garden|park|social_club)$"];
nwr(area.a)["historic:man_made"~"^(bridge|quay|tower|works|cross|mineshaft|pier)$"];
nwr(area.a)["historic:railway"];
nwr(area.a)["historic:shop"];
nwr(area.a)["historic:tourism"];
nwr(area.a)["image"];
nwr(area.a)["indoor"];
nwr(area.a)["industrial"~"^(factory|brewery)$"];
nwr(area.a)["inscription"];
nwr(area.a)["isced:level"="1"];
nwr(area.a)["junction"];
nwr(area.a)["landuse"];
nwr(area.a)["leisure"~"^(social_club|park|common|sauna|dog_park|stadium|garden)$"];
nwr(area.a)["location"="underground"];
nwr(area.a)["man_made"~"^(works|cross|tower|bridge|mineshaft|pier|quay)$"];
nwr(area.a)["material"];
nwr(area.a)["memorial"];
nwr(area.a)["memorial:type"="statue"];
nwr(area.a)["military"];
nwr(area.a)["museum"];
nwr(area.a)["museum_type"="private"];
nwr(area.a)["natural"~"^(wood|peak|stone|bay|water)$"];
nwr(area.a)["network"="DLR"];
nwr(area.a)["office"];
nwr(area.a)["operator:type"~"^(religious|ngo|government)$"];
nwr(area.a)["place"];
nwr(area.a)["power"~"^(station|plant)$"];
nwr(area.a)["protect_class"="22"];
nwr(area.a)["public_transport"];
nwr(area.a)["pump"];
nwr(area.a)["railway"];
nwr(area.a)["razed"];
nwr(area.a)["religion"~"^(christian|jewish)$"];
nwr(area.a)["resource"];
nwr(area.a)["restaurant"];
nwr(area.a)["retail"="retail_park"];
rel(area.a)["route"~"^(railway|subway|train)$"];
nwr(area.a)["ruins"];
nwr(area.a)["ruins:amenity"~"^(prison|drinking_water|place_of_worship|conference_centre|telephone|nightclub|cinema|post_box|music_venue|public_bath|archive|fountain|village_hall|monastery|courthouse|community_centre|public_building|feeding_place|grave_yard|shelter|market|theatre|fast_food|sauna|pub|stock_exchange|college|arts_centre|concert_hall|hospital|bank|post_office|marketplace|bus_station|events_venue|police|clock|university|cafe|townhall|school|music_school|restaurant|bar|library)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(sauna|common|garden|park|social_club)$"];
nwr(area.a)["ruins:man_made"~"^(pier|cross|tower|mineshaft|quay|bridge|works)$"];
nwr(area.a)["ruins:railway"];
nwr(area.a)["ruins:shop"];
nwr(area.a)["ruins:tourism"];
nwr(area.a)["sauna"];
nwr(area.a)["seamark:type"~"^(harbour|bridge)$"];
nwr(area.a)["service"];
nwr(area.a)["ship"];
nwr(area.a)["shop"];
rel(area.a)["site"~"^(railway|station|college|mall|school|railway_station|university)$"];
nwr(area.a)["social_facility"];
nwr(area.a)["sport"];
nwr(area.a)["station"="subway"];
nwr(area.a)["subway"];
nwr(area.a)["support"];
nwr(area.a)["symbol"];
nwr(area.a)["telecom"="exchange"];
nwr(area.a)["theatre:type"="amphi"];
nwr(area.a)["tourism"];
nwr(area.a)["tunnel"];
rel(area.a)["type"~"^(public_transport|route|bridge|tunnel|site)$"];
nwr(area.a)["was:amenity"~"^(courthouse|prison|sauna|fast_food|conference_centre|marketplace|pub|archive|telephone|arts_centre|stock_exchange|public_building|hospital|village_hall|post_office|police|library|bank|market|drinking_water|public_bath|concert_hall|restaurant|school|clock|cafe|monastery|theatre|university|cinema|community_centre|fountain|shelter|events_venue|nightclub|bar|bus_station|music_venue|music_school|college|post_box|place_of_worship|feeding_place|townhall|grave_yard)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:leisure"~"^(garden|social_club|park|common|sauna)$"];
nwr(area.a)["was:man_made"~"^(tower|works|quay|cross|bridge|mineshaft|pier)$"];
nwr(area.a)["was:railway"];
nwr(area.a)["was:shop"];
nwr(area.a)["was:tourism"];
nwr(area.a)["waterway"];
) -> .b;
(
        rel(51800);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;