OpenStreetMap logo OpenStreetMap

OSM Ireland Map&Chat - May 2022

Posted by dónal on 21 July 2022 in English.

At the OSM Ireland Map&Chat in May 2022, a query arose about how to create maps for specific topics (one of the Irish contributors wanted to callout some memorial benches in their local area).

As a result of the discussion, I created a umap project to demonstrate some of the possibilities:
https://umap.openstreetmap.fr/en/map/kerry-pike-gaa-memorial-benches_765585#18/51.91009/-8.56102

The overpass api query that is plugged into the “Remote Data” url field is:

https://overpass-api.de/api/interpreter?data=[out:json][timeout:25];(node[%22amenity%22=%22bench%22](51.909338348825024,-8.562796711921692,51.9115654863502,-8.5586017370224);%20way[%22amenity%22=%22bench%22](51.909338348825024,-8.562796711921692,51.9115654863502,-8.5586017370224););out%20body;%3E;out%20skel%20qt;

Note: can actually be simplified since we know all the results will be nodes (above has nodes and ways. An exercise for the reader…

Overpass Turbo also has the ability to do something similar (limited control over display format though):

Overpass Query (with MapCSS): https://overpass-turbo.eu/s/1iBL
Interactive Overpass Turbo map: click here

For those looking to understand MapCSS a bit more, see osm.wiki/Overpass_turbo/MapCSS#Color_Coding

Location: Coolymurraghue, St. Mary's, Cork, County Cork, Munster, T23 A406, Ireland

Discussion

Log in to leave a comment