Jing'an District

Jing'an District, Shanghai, China
category: boundary — type: administrative — OSM: relation 398353

Overpass

[timeout:600][out:xml][bbox:31.216297,121.413965,31.323209,121.478470];
area(3600398353) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(school|events_venue|college|shelter|community_centre|grave_yard|conference_centre|arts_centre|theatre|place_of_worship|hospital|events_centre)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(park|stadium|garden|common|sports_centre)$"];
nwr(area.a)["abandoned:man_made"~"^(water_tower|tower)$"];
nwr(area.a)["abandoned:railway"~"^(tram_stop|rail|facility|station|historic_station|halt)$"];
nwr(area.a)["abandoned:shop"~"^(mall|department_store|art)$"];
nwr(area.a)["abandoned:tourism"];
nwr(area.a)["addr:subdistrict"];
nwr(area.a)["amenity"~"^(hospital|place_of_worship|grave_yard|clinic|conference_centre|events_venue|arts_centre|school|events_centre|community_centre|college|theatre|shelter)$"];
nwr(area.a)["boundary"~"^(national_park|administrative)$"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["china_class"];
nwr(area.a)["demolished:amenity"~"^(arts_centre|school|hospital|college|grave_yard|conference_centre|shelter|place_of_worship|events_centre|events_venue|theatre|community_centre)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:leisure"~"^(park|stadium|common|sports_centre|garden)$"];
nwr(area.a)["demolished:man_made"~"^(tower|water_tower)$"];
nwr(area.a)["demolished:railway"~"^(halt|rail|station|facility|historic_station|tram_stop)$"];
nwr(area.a)["demolished:shop"~"^(mall|art|department_store)$"];
nwr(area.a)["demolished:tourism"];
nwr(area.a)["destroyed:amenity"~"^(theatre|arts_centre|college|events_centre|shelter|school|conference_centre|grave_yard|community_centre|hospital|place_of_worship|events_venue)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(sports_centre|stadium|park|common|garden)$"];
nwr(area.a)["destroyed:man_made"~"^(water_tower|tower)$"];
nwr(area.a)["destroyed:railway"~"^(historic_station|station|facility|rail|tram_stop|halt)$"];
nwr(area.a)["destroyed:shop"~"^(mall|department_store|art)$"];
nwr(area.a)["destroyed:tourism"];
nwr(area.a)["disused:amenity"~"^(theatre|place_of_worship|events_centre|arts_centre|school|conference_centre|events_venue|community_centre|shelter|hospital|college|grave_yard)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:leisure"~"^(stadium|garden|park|common|sports_centre)$"];
nwr(area.a)["disused:man_made"~"^(tower|water_tower)$"];
nwr(area.a)["disused:railway"~"^(tram_stop|facility|station|halt|rail|historic_station)$"];
nwr(area.a)["disused:shop"~"^(art|department_store|mall)$"];
nwr(area.a)["disused:tourism"];
nwr(area.a)["government"];
nwr(area.a)["healthcare"="hospital"];
nwr(area.a)["height"];
nwr(area.a)["highway"="bus_stop"];
nwr(area.a)["historic"~"^(museum|battlefield|memorial|monument|manor)$"];
nwr(area.a)["historic:amenity"~"^(school|theatre|hospital|community_centre|shelter|college|arts_centre|events_centre|grave_yard|place_of_worship|conference_centre|events_venue)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:leisure"~"^(garden|sports_centre|common|park|stadium)$"];
nwr(area.a)["historic:man_made"~"^(water_tower|tower)$"];
nwr(area.a)["historic:railway"~"^(station|facility|historic_station|halt|rail|tram_stop)$"];
nwr(area.a)["historic:shop"~"^(department_store|mall|art)$"];
nwr(area.a)["historic:tourism"];
nwr(area.a)["landuse"];
nwr(area.a)["leisure"~"^(sports_centre|park|common|stadium|garden)$"];
nwr(area.a)["location"="underground"];
nwr(area.a)["man_made"~"^(tower|water_tower)$"];
nwr(area.a)["memorial"="statue"];
nwr(area.a)["memorial:type"="statue"];
nwr(area.a)["museum"];
nwr(area.a)["natural"="wood"];
nwr(area.a)["office"];
nwr(area.a)["operator:type"~"^(religious|ngo|government)$"];
nwr(area.a)["place"];
nwr(area.a)["public_transport"~"^(station|stop_position|stop_area)$"];
nwr(area.a)["railway"~"^(halt|facility|tram_stop|station|historic_station|rail)$"];
nwr(area.a)["religion"="buddhist"];
nwr(area.a)["retail"="retail_park"];
rel(area.a)["route"~"^(subway|train)$"];
nwr(area.a)["ruins:amenity"~"^(events_centre|place_of_worship|college|community_centre|arts_centre|conference_centre|hospital|school|grave_yard|shelter|events_venue|theatre)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(park|common|sports_centre|garden|stadium)$"];
nwr(area.a)["ruins:man_made"~"^(water_tower|tower)$"];
nwr(area.a)["ruins:railway"~"^(station|historic_station|tram_stop|halt|rail|facility)$"];
nwr(area.a)["ruins:shop"~"^(art|mall|department_store)$"];
nwr(area.a)["ruins:tourism"];
nwr(area.a)["service"];
nwr(area.a)["shop"~"^(art|mall|department_store)$"];
rel(area.a)["site"~"^(railway|mall|station|school|railway_station)$"];
nwr(area.a)["sport"];
nwr(area.a)["station"="subway"];
nwr(area.a)["subway"];
nwr(area.a)["tourism"];
rel(area.a)["type"~"^(site|route)$"];
nwr(area.a)["was:amenity"~"^(community_centre|arts_centre|shelter|conference_centre|events_centre|events_venue|hospital|school|college|place_of_worship|theatre|grave_yard)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:leisure"~"^(garden|sports_centre|stadium|common|park)$"];
nwr(area.a)["was:man_made"~"^(tower|water_tower)$"];
nwr(area.a)["was:railway"~"^(facility|station|rail|historic_station|halt|tram_stop)$"];
nwr(area.a)["was:shop"~"^(department_store|art|mall)$"];
nwr(area.a)["was:tourism"];
) -> .b;
(
        rel(398353);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;