Gibraltar

Gibraltar
category: boundary — type: administrative — OSM: relation 6358272

Overpass

[timeout:600][out:xml][bbox:36.108852,-5.367415,36.155038,-5.337642];
area(3606358272) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(archive|school|college|research_institute|grave_yard|cinema|public_building|library|hospital|village_hall|events_venue|shelter|community_centre|studio|place_of_worship|townhall)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(park|stadium|garden|sports_centre|nature_reserve|common)$"];
nwr(area.a)["abandoned:man_made"~"^(lighthouse|tower|beacon|storage_tank|water_tower)$"];
nwr(area.a)["abandoned:railway"];
nwr(area.a)["abandoned:shop"="car_repair"];
nwr(area.a)["abandoned:tourism"];
nwr(area.a)["admin_level"="2"];
nwr(area.a)["aerialway"];
nwr(area.a)["aeroway"];
nwr(area.a)["amenity"~"^(place_of_worship|grave_yard|archive|library|townhall|arts_centre|market|college|cinema|hospital|clinic|village_hall|police|events_venue|research_institute|school|public_building|studio|community_centre|shelter)$"];
nwr(area.a)["area"="yes"];
nwr(area.a)["barrier"~"^(city_wall|wall|gate)$"];
nwr(area.a)["border_type"="city"];
nwr(area.a)["boundary"~"^(disputed|religious_administration|administrative|protected_area|maritime|national_park)$"];
nwr(area.a)["building"];
nwr(area.a)["club"="sport"];
nwr(area.a)["content"="water"];
nwr(area.a)["demolished:amenity"~"^(public_building|hospital|shelter|research_institute|library|place_of_worship|cinema|events_venue|community_centre|school|college|townhall|archive|grave_yard|village_hall|studio)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:leisure"~"^(park|stadium|nature_reserve|garden|common|sports_centre)$"];
nwr(area.a)["demolished:man_made"~"^(tower|beacon|lighthouse|storage_tank|water_tower)$"];
nwr(area.a)["demolished:railway"];
nwr(area.a)["demolished:shop"="car_repair"];
nwr(area.a)["demolished:tourism"];
nwr(area.a)["denomination"~"^(samaritan|roman_catholic|anglican|catholic|protestant)$"];
nwr(area.a)["destroyed:amenity"~"^(studio|college|shelter|village_hall|grave_yard|community_centre|place_of_worship|events_venue|research_institute|archive|library|townhall|public_building|school|hospital|cinema)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(sports_centre|stadium|park|nature_reserve|common|garden)$"];
nwr(area.a)["destroyed:man_made"~"^(water_tower|tower|beacon|lighthouse|storage_tank)$"];
nwr(area.a)["destroyed:railway"];
nwr(area.a)["destroyed:shop"="car_repair"];
nwr(area.a)["destroyed:tourism"];
nwr(area.a)["diocese"];
nwr(area.a)["disputed"];
nwr(area.a)["disused:amenity"~"^(place_of_worship|public_building|school|townhall|events_venue|community_centre|archive|shelter|college|library|research_institute|cinema|village_hall|studio|hospital|grave_yard)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:leisure"~"^(stadium|garden|park|common|nature_reserve|sports_centre)$"];
nwr(area.a)["disused:man_made"~"^(storage_tank|tower|water_tower|beacon|lighthouse)$"];
nwr(area.a)["disused:railway"];
nwr(area.a)["disused:shop"="car_repair"];
nwr(area.a)["disused:tourism"];
nwr(area.a)["emergency"="water_tank"];
nwr(area.a)["foot"="yes"];
nwr(area.a)["footway"];
nwr(area.a)["garden:type"="botanical"];
nwr(area.a)["government"];
nwr(area.a)["health_facility:type"];
nwr(area.a)["healthcare"="hospital"];
nwr(area.a)["heritage"];
nwr(area.a)["highway"~"^(pedestrian|track|path|footway)$"];
nwr(area.a)["historic"~"^(gate|tower_house|museum|castle|ruins|city_gate|monument|battlefield|archaeological_site|memorial|fort|heritage|citywalls|manor)$"];
nwr(area.a)["historic:amenity"~"^(village_hall|hospital|library|shelter|college|studio|grave_yard|events_venue|research_institute|school|public_building|cinema|community_centre|townhall|archive|place_of_worship)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:leisure"~"^(garden|sports_centre|park|nature_reserve|common|stadium)$"];
nwr(area.a)["historic:man_made"~"^(lighthouse|storage_tank|water_tower|tower|beacon)$"];
nwr(area.a)["historic:railway"];
nwr(area.a)["historic:shop"="car_repair"];
nwr(area.a)["historic:tourism"];
nwr(area.a)["industrial"~"^(warehouse|shipyard)$"];
nwr(area.a)["landform"="dune_system"];
nwr(area.a)["landuse"~"^(industrial|construction|cemetery|military|recreation_ground)$"];
nwr(area.a)["leisure"~"^(sports_centre|park|common|nature_reserve|stadium|garden)$"];
nwr(area.a)["location"="underground"];
nwr(area.a)["man_made"~"^(storage_tank|tower|water_tower|lighthouse|beacon)$"];
nwr(area.a)["maritime"];
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"="national"];
nwr(area.a)["natural"~"^(cave_entrance|bay|beach|wood|peninsula|peak|water|lake)$"];
nwr(area.a)["office"];
nwr(area.a)["operator:type"~"^(religious|ngo|government)$"];
nwr(area.a)["place"~"^(square|suburb|country|city|locality|neighbourhood|village|island)$"];
nwr(area.a)["political_division"];
nwr(area.a)["power"~"^(station|plant)$"];
nwr(area.a)["protect_class"="22"];
nwr(area.a)["public_transport"~"^(stop_position|station|stop_area|platform)$"];
nwr(area.a)["railway"];
nwr(area.a)["religion"~"^(christian|muslim|islam|jewish)$"];
rel(area.a)["route"="hiking"];
nwr(area.a)["ruins:amenity"~"^(place_of_worship|college|studio|hospital|cinema|events_venue|archive|village_hall|community_centre|townhall|public_building|school|research_institute|grave_yard|shelter|library)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(park|common|sports_centre|garden|nature_reserve|stadium)$"];
nwr(area.a)["ruins:man_made"~"^(tower|storage_tank|lighthouse|water_tower|beacon)$"];
nwr(area.a)["ruins:railway"];
nwr(area.a)["ruins:shop"="car_repair"];
nwr(area.a)["ruins:tourism"];
nwr(area.a)["service"];
nwr(area.a)["shop"="car_repair"];
rel(area.a)["site"~"^(airport|military|school)$"];
nwr(area.a)["sport"];
nwr(area.a)["support"];
nwr(area.a)["symbol"];
nwr(area.a)["tourism"];
nwr(area.a)["tower:type"="watchtower"];
nwr(area.a)["tunnel"];
rel(area.a)["type"~"^(tunnel|site)$"];
nwr(area.a)["was:amenity"~"^(studio|school|archive|cinema|community_centre|shelter|public_building|hospital|events_venue|village_hall|college|library|research_institute|place_of_worship|townhall|grave_yard)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:leisure"~"^(nature_reserve|park|garden|sports_centre|stadium|common)$"];
nwr(area.a)["was:man_made"~"^(storage_tank|beacon|tower|water_tower|lighthouse)$"];
nwr(area.a)["was:railway"];
nwr(area.a)["was:shop"="car_repair"];
nwr(area.a)["was:tourism"];
nwr(area.a)["water"~"^(lake|pond)$"];
nwr(area.a)["waterway"~"^(dock|boatyard)$"];
nwr(area.a)["zoo"];
) -> .b;
(
        rel(6358272);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;