gpxstudio / gpx.studio

The online GPX file editor
https://gpx.studio/
MIT License
106 stars 16 forks source link

Custom POI layers with Overpass #34

Open nevvkid opened 1 month ago

nevvkid commented 1 month ago

Would be nice to plan bikepacking trips. https://overpass-turbo.eu/?template=key-value&key=amenity&value=shelter

One other thing I find helpful on tour.

pfbreton-perso commented 1 month ago

how about an alternate suggestion where the custom layer functionality can take an overpass turbo query as input? for example, umap has this UI to allow anyone defining any query:

image

The layer is then created as a special layer that uses a URL like this:

https://overpass-api.de/api/interpreter?data=[out:json];nwr[hazard]({south},{west},{north},{east});out geom;

image

Once aggregated in a list we can do things like this:

image

nevvkid commented 1 month ago

@pfbreton-perso interesting idea. You can use a similar approach in bikerouter.de

image