Find drinking water amenities on a GPX track?

With the following query I can find drinking water amenities within a polygon:

[out:json];node["amenity"="drinking_water"](poly:"51.47 -0.01 51.477 0.01 51.484 -0.01");out;

I would now like to use the data from a GPX-file to search for drinking water amenities on the track (or up to 500 metres off the track). I know how to transform the GPX-file into a Linestring or whatever but I don’t know how to tell Overpass to search on the track.

Does somebody know how to achieve this?

Thanks!
Danke!
:slight_smile:

– Edit:

I found this:

How can I filter the found POIs to only drinking water amenities?

6 posts - 3 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/find-drinking-water-amenities-on-a-gpx-track/8091