St. Ives

St. Ives, Cornwall, England, United Kingdom
category: boundary — type: administrative — OSM: relation 5845435

Overpass

[timeout:600][out:xml][bbox:50.173155,-5.527475,50.220468,-5.430056];
area(3605845435) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(pub|school|college|lifeboat_station|bank|cinema|telephone|arts_centre|public_building|library|bar|fountain|events_venue|restaurant|shelter|community_centre|nightclub|place_of_worship)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(park|garden|nature_reserve|common)$"];
nwr(area.a)["abandoned:man_made"~"^(cross|lighthouse|tower)$"];
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)["amenity"~"^(place_of_worship|bank|library|telephone|lifeboat_station|arts_centre|restaurant|college|theatre|fountain|cinema|pub|nightclub|university|events_venue|bar|school|public_building|community_centre|shelter)$"];
nwr(area.a)["artwork:type"="sculpture"];
nwr(area.a)["artwork_type"="sculpture"];
nwr(area.a)["boundary"~"^(administrative|national_park|civil_parish)$"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["castle_type"="stately"];
nwr(area.a)["demolished:amenity"~"^(bank|arts_centre|fountain|public_building|shelter|pub|library|telephone|place_of_worship|cinema|events_venue|restaurant|nightclub|community_centre|school|college|lifeboat_station|bar)$"];
nwr(area.a)["demolished:building"];
nwr(area.a)["demolished:leisure"~"^(park|nature_reserve|garden|common)$"];
nwr(area.a)["demolished:man_made"~"^(tower|lighthouse|cross)$"];
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"~"^(anglican|protestant)$"];
nwr(area.a)["designation"="civil_parish"];
nwr(area.a)["destroyed:amenity"~"^(telephone|arts_centre|college|shelter|restaurant|bank|community_centre|bar|pub|place_of_worship|events_venue|nightclub|library|lifeboat_station|fountain|public_building|school|cinema)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(park|nature_reserve|common|garden)$"];
nwr(area.a)["destroyed:man_made"~"^(cross|tower|lighthouse)$"];
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)["disused:amenity"~"^(place_of_worship|public_building|restaurant|arts_centre|school|nightclub|events_venue|community_centre|shelter|college|library|bar|cinema|lifeboat_station|fountain|telephone|pub|bank)$"];
nwr(area.a)["disused:building"];
nwr(area.a)["disused:leisure"~"^(garden|park|common|nature_reserve)$"];
nwr(area.a)["disused:man_made"~"^(tower|cross|lighthouse)$"];
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"="lifeboat_station"];
nwr(area.a)["fountain"];
nwr(area.a)["heritage"];
nwr(area.a)["historic"~"^(museum|folly|city_gate|monument|memorial|archaeological_site|heritage|wayside_cross|manor)$"];
nwr(area.a)["historic:amenity"~"^(bank|library|bar|fountain|shelter|college|arts_centre|events_venue|restaurant|pub|school|public_building|nightclub|cinema|community_centre|telephone|lifeboat_station|place_of_worship)$"];
nwr(area.a)["historic:building"];
nwr(area.a)["historic:leisure"~"^(garden|park|nature_reserve|common)$"];
nwr(area.a)["historic:man_made"~"^(cross|lighthouse|tower)$"];
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)["landuse"];
nwr(area.a)["leisure"~"^(park|common|nature_reserve|garden)$"];
nwr(area.a)["man_made"~"^(cross|tower|lighthouse)$"];
nwr(area.a)["megalith_type"="menhir"];
nwr(area.a)["memorial"];
nwr(area.a)["museum"];
nwr(area.a)["natural"~"^(spring|wood|water)$"];
nwr(area.a)["office"~"^(educational_institution|association)$"];
nwr(area.a)["operator:type"="ngo"];
nwr(area.a)["place"];
nwr(area.a)["protect_class"="22"];
nwr(area.a)["public_transport"~"^(stop_position|station|stop_area)$"];
nwr(area.a)["railway"~"^(tram_stop|station|halt|facility|historic_station|rail)$"];
nwr(area.a)["religion"="christian"];
nwr(area.a)["restaurant"];
rel(area.a)["route"~"^(subway|train)$"];
nwr(area.a)["ruins:amenity"~"^(pub|place_of_worship|college|arts_centre|lifeboat_station|telephone|bank|nightclub|cinema|events_venue|fountain|community_centre|public_building|school|shelter|restaurant|bar|library)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(park|common|garden|nature_reserve)$"];
nwr(area.a)["ruins:man_made"~"^(cross|tower|lighthouse)$"];
nwr(area.a)["ruins:railway"~"^(historic_station|halt|tram_stop|rail|station|facility)$"];
nwr(area.a)["ruins:shop"];
nwr(area.a)["ruins:tourism"];
nwr(area.a)["seamark"];
nwr(area.a)["service"];
nwr(area.a)["shop"];
rel(area.a)["site"~"^(school|railway_station|railway|station)$"];
nwr(area.a)["site_type"="megalith"];
nwr(area.a)["support"];
nwr(area.a)["symbol"];
nwr(area.a)["tourism"];
rel(area.a)["type"~"^(site|route)$"];
nwr(area.a)["was:amenity"~"^(restaurant|school|pub|telephone|cinema|community_centre|lifeboat_station|arts_centre|fountain|shelter|public_building|events_venue|nightclub|bar|college|library|bank|place_of_worship)$"];
nwr(area.a)["was:building"];
nwr(area.a)["was:leisure"~"^(nature_reserve|park|garden|common)$"];
nwr(area.a)["was:man_made"~"^(cross|tower|lighthouse)$"];
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(5845435);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;