Chamberí

Chamberí, Madrid, Área metropolitana de Madrid y Corredor del Henares, Community of Madrid, 28001, Spain
category: boundary — type: administrative — OSM: relation 356998

Overpass

[timeout:600][out:xml][bbox:40.424848,-3.719948,40.447132,-3.688436];
area(3600356998) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(archive|monastery|school|student_accommodation|college|bank|marketplace|research_institute|grave_yard|cinema|arts_centre|theatre|public_building|university|hospital|fuel|fountain|events_venue|shelter|cafe|community_centre|health_post|embassy|place_of_worship)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(park|stadium|garden|sports_centre|pitch)$"];
nwr(area.a)["abandoned:man_made"~"^(mineshaft|tower|buttress|works|mine|storage_tank|water_tower|bridge)$"];
nwr(area.a)["abandoned:railway"~"^(tram_stop|historic_station|rail|facility|station|halt)$"];
nwr(area.a)["abandoned:shop"];
nwr(area.a)["abandoned:tourism"];
nwr(area.a)["admin_level"="4"];
nwr(area.a)["amenity"~"^(place_of_worship|grave_yard|bank|social_facility|archive|cafe|arts_centre|market|college|embassy|theatre|fountain|cinema|hospital|monastery|university|fuel|events_venue|research_institute|health_post|student_accommodation|school|public_building|marketplace|community_centre|shelter)$"];
nwr(area.a)["area"="yes"];
nwr(area.a)["artwork:type"="sculpture"];
nwr(area.a)["artwork_type"~"^(architecture|sculpture|statue|relief)$"];
nwr(area.a)["boundary"="administrative"];
nwr(area.a)["bridge"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["building:use"~"^(residential|apartments)$"];
nwr(area.a)["castle_type"="manor"];
nwr(area.a)["content"="water"];
nwr(area.a)["demolished:amenity"~"^(embassy|bank|arts_centre|fountain|public_building|hospital|health_post|shelter|research_institute|cafe|place_of_worship|cinema|events_venue|theatre|community_centre|school|college|archive|university|grave_yard|monastery|student_accommodation|fuel|marketplace)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:leisure"~"^(park|stadium|pitch|garden|sports_centre)$"];
nwr(area.a)["demolished:man_made"~"^(tower|buttress|mine|storage_tank|mineshaft|water_tower|bridge|works)$"];
nwr(area.a)["demolished:railway"~"^(historic_station|tram_stop|halt|rail|station|facility)$"];
nwr(area.a)["demolished:shop"];
nwr(area.a)["demolished:tourism"];
nwr(area.a)["denomination"~"^(samaritan|roman_catholic|catholic)$"];
nwr(area.a)["destroyed:amenity"~"^(theatre|arts_centre|health_post|college|shelter|university|bank|community_centre|embassy|place_of_worship|events_venue|fuel|research_institute|archive|marketplace|fountain|cafe|monastery|public_building|school|student_accommodation|hospital|cinema|grave_yard)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(sports_centre|stadium|park|pitch|garden)$"];
nwr(area.a)["destroyed:man_made"~"^(water_tower|tower|buttress|mine|bridge|mineshaft|works|storage_tank)$"];
nwr(area.a)["destroyed:railway"~"^(station|historic_station|facility|rail|tram_stop|halt)$"];
nwr(area.a)["destroyed:shop"];
nwr(area.a)["destroyed:tourism"];
nwr(area.a)["diplomatic"="embassy"];
nwr(area.a)["disused:amenity"~"^(place_of_worship|public_building|student_accommodation|marketplace|arts_centre|school|events_venue|community_centre|archive|shelter|college|embassy|theatre|monastery|cafe|research_institute|cinema|fuel|fountain|university|health_post|hospital|grave_yard|bank)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:leisure"~"^(stadium|pitch|garden|park|sports_centre)$"];
nwr(area.a)["disused:man_made"~"^(storage_tank|tower|water_tower|buttress|bridge|mine|mineshaft|works)$"];
nwr(area.a)["disused:railway"~"^(tram_stop|station|rail|facility|halt|historic_station)$"];
nwr(area.a)["disused:shop"];
nwr(area.a)["disused:tourism"];
nwr(area.a)["emergency"="water_tank"];
nwr(area.a)["faculty"];
nwr(area.a)["foot"="yes"];
nwr(area.a)["fountain"];
nwr(area.a)["gnis:feature_type"="Mine"];
nwr(area.a)["government"];
nwr(area.a)["health_facility:type"];
nwr(area.a)["healthcare"~"^(hospital|clinic)$"];
nwr(area.a)["height"];
nwr(area.a)["heritage"];
nwr(area.a)["highway"="pedestrian"];
nwr(area.a)["historic"];
nwr(area.a)["historic:amenity"~"^(bank|hospital|health_post|fountain|shelter|college|marketplace|arts_centre|monastery|university|grave_yard|cafe|events_venue|embassy|research_institute|school|theatre|public_building|cinema|community_centre|archive|student_accommodation|place_of_worship|fuel)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:leisure"~"^(garden|sports_centre|park|stadium|pitch)$"];
nwr(area.a)["historic:man_made"~"^(buttress|storage_tank|bridge|mine|water_tower|tower|mineshaft|works)$"];
nwr(area.a)["historic:railway"~"^(facility|historic_station|rail|station|halt|tram_stop)$"];
nwr(area.a)["historic:shop"];
nwr(area.a)["historic:tourism"];
nwr(area.a)["image"];
nwr(area.a)["indoor"];
nwr(area.a)["industrial"~"^(mine|factory)$"];
nwr(area.a)["isced:level"="1"];
nwr(area.a)["junction"];
nwr(area.a)["landuse"~"^(industrial|grass|commercial|retail|cemetery|quarry|railway|recreation_ground)$"];
nwr(area.a)["leisure"~"^(pitch|sports_centre|park|common|dog_park|stadium|garden)$"];
nwr(area.a)["length"];
nwr(area.a)["location"="underground"];
nwr(area.a)["man_made"~"^(mine|works|storage_tank|tower|water_tower|buttress|bridge|mineshaft)$"];
nwr(area.a)["memorial"];
nwr(area.a)["memorial:type"="statue"];
nwr(area.a)["monastery:type"="hermitage"];
nwr(area.a)["museum"];
nwr(area.a)["office"];
nwr(area.a)["operator:type"~"^(religious|ngo|government)$"];
nwr(area.a)["place"];
nwr(area.a)["political_division"];
nwr(area.a)["protect_class"="22"];
nwr(area.a)["public_transport"];
nwr(area.a)["railway"~"^(tram_stop|station|halt|facility|historic_station|rail)$"];
nwr(area.a)["religion"~"^(christian|buddhist|jewish)$"];
nwr(area.a)["room"="auditorium"];
rel(area.a)["route"~"^(subway|train)$"];
nwr(area.a)["ruins"];
nwr(area.a)["ruins:amenity"~"^(place_of_worship|college|arts_centre|hospital|bank|student_accommodation|cinema|marketplace|fuel|events_venue|archive|fountain|embassy|monastery|university|cafe|community_centre|health_post|public_building|school|research_institute|grave_yard|shelter|theatre)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(park|sports_centre|garden|pitch|stadium)$"];
nwr(area.a)["ruins:man_made"~"^(buttress|mine|bridge|tower|storage_tank|mineshaft|works|water_tower)$"];
nwr(area.a)["ruins:railway"~"^(historic_station|tram_stop|halt|rail|station|facility)$"];
nwr(area.a)["ruins:shop"];
nwr(area.a)["ruins:tourism"];
nwr(area.a)["seamark:type"="bridge"];
nwr(area.a)["service"];
nwr(area.a)["shop"];
rel(area.a)["site"~"^(school|railway_station|railway|station|college|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)["tourism"];
rel(area.a)["type"~"^(public_transport|site|route)$"];
nwr(area.a)["was:amenity"~"^(school|cafe|marketplace|fuel|monastery|theatre|embassy|university|archive|cinema|community_centre|student_accommodation|arts_centre|fountain|shelter|public_building|events_venue|hospital|health_post|college|research_institute|bank|place_of_worship|grave_yard)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:leisure"~"^(park|garden|pitch|sports_centre|stadium)$"];
nwr(area.a)["was:man_made"~"^(mine|storage_tank|bridge|buttress|tower|mineshaft|works|water_tower)$"];
nwr(area.a)["was:railway"~"^(facility|halt|tram_stop|station|rail|historic_station)$"];
nwr(area.a)["was:shop"];
nwr(area.a)["was:tourism"];
) -> .b;
(
        rel(356998);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;