Mendip Hills AONB

Mendip Hills AONB, Compton Martin, Bath and North East Somerset, West of England, England, United Kingdom
category: boundary — type: protected area — OSM: relation 3643754

Overpass

[timeout:600][out:xml][bbox:51.212690,-2.953300,51.352100,-2.575310];
area(3603643754) -> .a;
(
nwr(area.a)["abandoned:amenity"~"^(pub|school|music_venue|clock|grave_yard|telephone|driving_school|theatre|public_building|bar|post_office|events_venue|restaurant|shelter|stables|community_centre|place_of_worship)$"];
nwr(area.a)["abandoned:building"];
nwr(area.a)["abandoned:leisure"~"^(park|stadium|garden|sports_centre|nature_reserve|common)$"];
nwr(area.a)["abandoned:man_made"~"^(cross|mineshaft|tower|buttress|works|mine|reservoir_covered|storage_tank|chimney|water_tower|pipeline|water_works|mast|bridge|survey_point)$"];
nwr(area.a)["abandoned:railway"~"^(tram_stop|disused_station|historic_station|facility|station|halt)$"];
nwr(area.a)["abandoned:tourism"];
nwr(area.a)["admin_level"];
nwr(area.a)["amenity"~"^(place_of_worship|grave_yard|clock|post_office|telephone|restaurant|market|theatre|stables|pub|events_venue|bar|school|public_building|music_venue|community_centre|driving_school|shelter)$"];
nwr(area.a)["bar"];
nwr(area.a)["barrier"~"^(stile|wall|gate)$"];
nwr(area.a)["booth"];
nwr(area.a)["boundary"~"^(administrative|protected_area|national_park|marker|civil_parish)$"];
nwr(area.a)["bridge"];
nwr(area.a)["building"];
nwr(area.a)["building:levels"];
nwr(area.a)["castle_type"~"^(fortress|stately)$"];
nwr(area.a)["cemetery"="grave"];
nwr(area.a)["covered"="booth"];
nwr(area.a)["demolished:amenity"~"^(public_building|shelter|music_venue|stables|pub|telephone|place_of_worship|events_venue|theatre|restaurant|community_centre|school|clock|grave_yard|post_office|driving_school|bar)$"];
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|buttress|pipeline|mine|reservoir_covered|cross|mast|storage_tank|mineshaft|survey_point|chimney|water_tower|water_works|bridge|works)$"];
nwr(area.a)["demolished:railway"~"^(disused_station|historic_station|tram_stop|halt|station|facility)$"];
nwr(area.a)["demolished:tourism"];
nwr(area.a)["denomination"~"^(anglican|protestant)$"];
nwr(area.a)["designation"="civil_parish"];
nwr(area.a)["destroyed:amenity"~"^(telephone|theatre|shelter|restaurant|community_centre|stables|clock|bar|pub|place_of_worship|music_venue|events_venue|public_building|school|driving_school|post_office|grave_yard)$"];
nwr(area.a)["destroyed:building"];
nwr(area.a)["destroyed:leisure"~"^(sports_centre|stadium|park|nature_reserve|common|garden)$"];
nwr(area.a)["destroyed:man_made"~"^(pipeline|reservoir_covered|mast|cross|water_tower|water_works|tower|buttress|chimney|mine|bridge|mineshaft|survey_point|works|storage_tank)$"];
nwr(area.a)["destroyed:railway"~"^(station|historic_station|facility|disused_station|tram_stop|halt)$"];
nwr(area.a)["destroyed:tourism"];
nwr(area.a)["disused"="station"];
nwr(area.a)["disused:amenity"~"^(place_of_worship|public_building|restaurant|stables|music_venue|school|post_office|events_venue|community_centre|shelter|theatre|bar|clock|telephone|pub|driving_school|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|survey_point|water_tower|cross|pipeline|reservoir_covered|water_works|buttress|bridge|mine|mineshaft|works|mast|chimney)$"];
nwr(area.a)["disused:railway"~"^(tram_stop|station|disused_station|facility|halt|historic_station)$"];
nwr(area.a)["disused:tourism"];
nwr(area.a)["embankment"="yes"];
nwr(area.a)["footway"];
nwr(area.a)["fortification_type"="hill_fort"];
nwr(area.a)["garden:style"="zen"];
nwr(area.a)["gnis:feature_type"="Mine"];
nwr(area.a)["heritage"];
nwr(area.a)["highway"~"^(raceway|steps|footway)$"];
nwr(area.a)["historic"];
nwr(area.a)["historic:amenity"~"^(stables|bar|clock|shelter|grave_yard|events_venue|restaurant|pub|school|theatre|public_building|driving_school|community_centre|telephone|music_venue|post_office|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"~"^(water_works|reservoir_covered|cross|buttress|storage_tank|chimney|bridge|mine|pipeline|mast|water_tower|tower|mineshaft|survey_point|works)$"];
nwr(area.a)["historic:railway"~"^(facility|historic_station|disused_station|station|halt|tram_stop)$"];
nwr(area.a)["historic:tourism"];
nwr(area.a)["indoor"];
nwr(area.a)["industrial"="mine"];
nwr(area.a)["isced:level"="1"];
nwr(area.a)["landuse"~"^(meadow|cemetery|forest|quarry|railway|greenhouse_horticulture|recreation_ground|reservoir|residential)$"];
nwr(area.a)["leisure"~"^(sports_centre|park|common|dog_park|nature_reserve|stadium|garden)$"];
nwr(area.a)["location"="underground"];
nwr(area.a)["man_made"~"^(mine|works|mast|storage_tank|cross|reservoir_covered|tower|water_tower|water_works|buttress|bridge|chimney|survey_point|mineshaft|pipeline)$"];
nwr(area.a)["marker"];
nwr(area.a)["material"];
nwr(area.a)["megalith_type"~"^(menhir|round_barrow|long_barrow)$"];
nwr(area.a)["memorial"];
nwr(area.a)["memorial:type"="statue"];
nwr(area.a)["military"];
nwr(area.a)["museum"];
nwr(area.a)["natural"~"^(valley|cave_entrance|wood|peak|grassland|ridge|water)$"];
nwr(area.a)["place"];
nwr(area.a)["protect_class"="22"];
nwr(area.a)["public_transport"~"^(stop_position|station|stop_area|platform)$"];
nwr(area.a)["radio_transponder"="yes"];
nwr(area.a)["railway"~"^(tram_stop|station|halt|facility|disused_station|historic_station)$"];
nwr(area.a)["religion"="christian"];
nwr(area.a)["restaurant"];
nwr(area.a)["ruins"];
nwr(area.a)["ruins:amenity"~"^(pub|place_of_worship|telephone|post_office|stables|music_venue|events_venue|clock|community_centre|public_building|school|grave_yard|driving_school|shelter|restaurant|bar|theatre)$"];
nwr(area.a)["ruins:building"];
nwr(area.a)["ruins:leisure"~"^(park|common|sports_centre|garden|nature_reserve|stadium)$"];
nwr(area.a)["ruins:man_made"~"^(chimney|buttress|mine|cross|survey_point|bridge|tower|storage_tank|mineshaft|reservoir_covered|works|pipeline|water_tower|water_works|mast)$"];
nwr(area.a)["ruins:railway"~"^(disused_station|historic_station|halt|tram_stop|station|facility)$"];
nwr(area.a)["ruins:tourism"];
nwr(area.a)["school:type"="voluntary_aided"];
nwr(area.a)["seamark:type"="bridge"];
nwr(area.a)["service"];
rel(area.a)["site"~"^(railway_station|railway|station)$"];
nwr(area.a)["site_type"~"^(fortification|megalith)$"];
nwr(area.a)["sport"];
nwr(area.a)["support"];
nwr(area.a)["symbol"];
nwr(area.a)["theatre:type"="amphi"];
nwr(area.a)["tomb"];
nwr(area.a)["tourism"];
nwr(area.a)["tower:type"~"^(communication|clock_tower)$"];
nwr(area.a)["traffic_sign"];
rel(area.a)["type"="site"];
nwr(area.a)["was:amenity"~"^(restaurant|driving_school|school|clock|pub|theatre|telephone|community_centre|shelter|public_building|events_venue|bar|music_venue|post_office|stables|place_of_worship|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"~"^(cross|mine|storage_tank|chimney|reservoir_covered|bridge|buttress|tower|water_works|pipeline|mineshaft|survey_point|works|mast|water_tower)$"];
nwr(area.a)["was:railway"~"^(facility|halt|tram_stop|station|historic_station|disused_station)$"];
nwr(area.a)["was:tourism"];
nwr(area.a)["water"~"^(reservoir|lake)$"];
nwr(area.a)["waterway"];
) -> .b;
(
        rel(3643754);
    nwr(area.a)["wikidata"];
    nwr(area.a)["addr:housenumber"];
    nwr.b[~"^(addr:housenumber|.*name.*)$"~".",i];
    nwr.b[~"^ref:"~"."];
    
);
(._;>;);
out;