THINGS tags to query on:
QUERY websites/methods:
Overpass Turbo
Saved Queries (osm.org)
e.g. amenity=shelter on Wicklow Way
node
[amenity=shelter]
({{bbox}});
out;
// "The Wicklow Way"
// https://www.openstreetmap.org/relation/2740#map=10/52.9875/-6.4263&layers=C
//relation[2740]({{bbox}});
//node[highway=path,name="The Wicklow Way"]({{bbox}});
//node[name="Wicklow Way"]({{bbox}});
(
relation[route=bicycle]({{bbox}});
way[highway=path][name="Wicklow Way"]({{bbox}});
way[highway=track][name="Wicklow Way"]({{bbox}});
way[highway=footway][name="Wicklow Way"]({{bbox}});
way[highway=unclassified][name="Wicklow Way"]({{bbox}});
node[amenity=shelter]({{bbox}});
);
/*added by auto repair*/
(._;>;);
/*end of auto repair*/
out;
e.g. Wicklow Way with some roads
(
//relation[route=bicycle]({{bbox}});
way[highway=path][name="Wicklow Way"]({{bbox}});
way[highway=path][name="Wicklow Way/Dublin Mountains Way"]({{bbox}});
way[highway=track][name="Wicklow Way"]({{bbox}});
way[highway=track][name="Wicklow Way/Dublin Mountains Way"]({{bbox}});
way[highway=footway][name="Wicklow Way"]({{bbox}});
way[highway=unclassified][name="Wicklow Way"]({{bbox}});
node[amenity=shelter][shelter_type=weather_shelter]({{bbox}});
way[highway=tertiary][name="Wicklow Way"]({{bbox}});
);
(._;>;);
out;
e.g. find the shelters on The Wicklow Way
// find the shelters on The Wicklow Way
node[amenity=shelter][shelter_type=weather_shelter]({{bbox}});
out;
e.g. ecar charging station near Dublin, Ireland
(node["amenity"="charging_station"](around:50000,{{geocodeCoords:Dublin}});way["amenity"="charging_station"](around:50000,{{geocodeCoords:Dublin}});relation["amenity"="charging_station"](around:50000,{{geocodeCoords:Dublin}}););out;>;out;
e.g. recycling, bottle banks etc
(
node["amenity"="recycling"](around:50000,{{geocodeCoords:Dublin}});way["amenity"="recycling"](around:50000,{{geocodeCoords:Dublin}});relation["amenity"="recycling"](around:50000,{{geocodeCoords:Dublin}}););out;>;out;
Query-to-map
select BBOX
Learning about Overpass queries:
(node["amenity"="hospital"](around:50000,{{geocodeCoords:Denver}});way["amenity"="hospital"](around:50000,{{geocodeCoords:Denver}});relation["amenity"="hospital"](around:50000,{{geocodeCoords:Denver}}););out;>;out;
No comments:
Post a Comment