Salamanca

Salamanca, Centro, Salamanca, Campo de Salamanca, Salamanca, Castile and León, 37005, Spain
category: landuse — type: residential — OSM: relation 1101237

Overpass

[timeout:600][out:xml][bbox:40.940076,-5.707343,40.985507,-5.631051];
area(3601101237) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(archive|monastery|school|student_accommodation|events_venue|college|bus_station|shelter|marketplace|cafe|research_institute|community_centre|arts_centre|theatre|public_building|library|university|place_of_worship|hospital)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(park|stadium|sports_centre)$"];
nwr(area.a)["abandoned:man_made"~"^(tower|works|bridge)$"];
nwr(area.a)["abandoned:railway"="station"];
nwr(area.a)["abandoned:shop"];
nwr(area.a)["abandoned:tourism"];
nwr(area.a)["admin_level"="4"];
nwr(area.a)["amenity"~"^(hospital|place_of_worship|clinic|monastery|university|events_venue|archive|research_institute|library|student_accommodation|cafe|arts_centre|school|public_building|marketplace|market|community_centre|bus_station|college|theatre|shelter)$"];
nwr(area.a)["area"="yes"];
nwr(area.a)["artwork:type"="sculpture"];
nwr(area.a)["artwork_type"~"^(statue|sculpture)$"];
nwr(area.a)["barrier"="wall"];
nwr(area.a)["boundary"~"^(administrative|protected_area)$"];
nwr(area.a)["bridge"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["building:use"="residential"];
nwr(area.a)["demolished:amenity"~"^(arts_centre|school|public_building|hospital|college|archive|university|shelter|research_institute|library|bus_station|cafe|place_of_worship|events_venue|theatre|monastery|student_accommodation|community_centre|marketplace)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:leisure"~"^(park|stadium|sports_centre)$"];
nwr(area.a)["demolished:man_made"~"^(tower|bridge|works)$"];
nwr(area.a)["demolished:railway"="station"];
nwr(area.a)["demolished:shop"];
nwr(area.a)["demolished:tourism"];
nwr(area.a)["denomination"~"^(roman_catholic|catholic)$"];
nwr(area.a)["destroyed:amenity"~"^(research_institute|archive|library|theatre|arts_centre|bus_station|marketplace|college|cafe|monastery|public_building|shelter|school|student_accommodation|university|community_centre|hospital|place_of_worship|events_venue)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(sports_centre|stadium|park)$"];
nwr(area.a)["destroyed:man_made"~"^(tower|works|bridge)$"];
nwr(area.a)["destroyed:railway"="station"];
nwr(area.a)["destroyed:shop"];
nwr(area.a)["destroyed:tourism"];
nwr(area.a)["disused:amenity"~"^(theatre|monastery|cafe|place_of_worship|public_building|research_institute|student_accommodation|marketplace|university|arts_centre|school|bus_station|events_venue|community_centre|archive|shelter|hospital|college|library)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:leisure"~"^(stadium|park|sports_centre)$"];
nwr(area.a)["disused:man_made"~"^(works|tower|bridge)$"];
nwr(area.a)["disused:railway"="station"];
nwr(area.a)["disused:shop"];
nwr(area.a)["disused:tourism"];
nwr(area.a)["faculty"];
nwr(area.a)["foot"="yes"];
nwr(area.a)["government"];
nwr(area.a)["health_facility:type"];
nwr(area.a)["healthcare"="hospital"];
nwr(area.a)["heritage"];
nwr(area.a)["highway"~"^(pedestrian|bus_stop)$"];
nwr(area.a)["historic"];
nwr(area.a)["historic:amenity"~"^(research_institute|school|theatre|public_building|hospital|library|community_centre|archive|shelter|college|bus_station|marketplace|arts_centre|monastery|university|student_accommodation|cafe|place_of_worship|events_venue)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:leisure"~"^(sports_centre|park|stadium)$"];
nwr(area.a)["historic:man_made"~"^(bridge|tower|works)$"];
nwr(area.a)["historic:railway"="station"];
nwr(area.a)["historic:shop"];
nwr(area.a)["historic:tourism"];
nwr(area.a)["indoor"];
nwr(area.a)["industrial"="factory"];
nwr(area.a)["landuse"~"^(railway|recreation_ground)$"];
nwr(area.a)["leisure"~"^(sports_centre|park|common|stadium|dog_park)$"];
nwr(area.a)["location"];
nwr(area.a)["man_made"~"^(tower|bridge|works)$"];
nwr(area.a)["memorial"="statue"];
nwr(area.a)["memorial:type"="statue"];
nwr(area.a)["military"];
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)["protection_title"="Bien de Interés Cultural"];
nwr(area.a)["public_transport"~"^(station|stop_position|platform)$"];
nwr(area.a)["railway"="station"];
nwr(area.a)["religion"="christian"];
nwr(area.a)["ruins:amenity"~"^(archive|monastery|place_of_worship|university|college|cafe|community_centre|arts_centre|hospital|public_building|school|student_accommodation|research_institute|marketplace|shelter|bus_station|events_venue|library|theatre)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(park|sports_centre|stadium)$"];
nwr(area.a)["ruins:man_made"~"^(bridge|tower|works)$"];
nwr(area.a)["ruins:railway"="station"];
nwr(area.a)["ruins:shop"];
nwr(area.a)["ruins:tourism"];
nwr(area.a)["seamark:type"="bridge"];
nwr(area.a)["shop"];
rel(area.a)["site"~"^(school|college|university)$"];
nwr(area.a)["sport"];
nwr(area.a)["support"];
nwr(area.a)["tourism"];
rel(area.a)["type"~"^(bridge|site)$"];
nwr(area.a)["was:amenity"~"^(community_centre|arts_centre|student_accommodation|shelter|public_building|events_venue|hospital|bus_station|school|college|cafe|marketplace|library|monastery|research_institute|place_of_worship|theatre|university|archive)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:leisure"~"^(sports_centre|stadium|park)$"];
nwr(area.a)["was:man_made"~"^(works|bridge|tower)$"];
nwr(area.a)["was:railway"="station"];
nwr(area.a)["was:shop"];
nwr(area.a)["was:tourism"];
) -> .b;
(
        rel(1101237);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;