-
Notifications
You must be signed in to change notification settings - Fork 152
Description
Hi :)
One of the most common requests I get from uMap support, is to ease the bridge between overpass-turbo and uMap.
uMap can eat OSM data (thanks to https://github.com/tyrasd/osmtogeojson, and so thanks to you :) ), and for this one way is to use an Overpass URL.
What I usually answer to users when they want to export data to uMap is to download as geojson from overpass-turbo, and then import the file in uMap (or copy/paste it).
But uMap also allows the data to be fetched dynamically when a map is loaded. This is called "remote data" in uMap. Roughly, one creates a new layer, and set a "remote data" URL. So now each time the map is loaded, the URL is requested, and the content shown on the map (one can style the data even if it's remotely fetched). The goal is to have fresh data. See for example: http://umap.openstreetmap.fr/en/map/pere-lachaise_6765#16/48.8613/2.3953
The Overpass data URL is (unless I've missed something :) ) a bit hidden. What I usually do to get it is: export => query => click on compact => right click on the link in the new page.
That said, I see two ways to create a better bridge between Overpass-turbo and uMap:
- Make it easier to get the Overpass data URL: for example, adding a section on "Export" called "URL" where the Overpass data URL can be copy-pasted
- this one is a bit more specific: on "Export" => "Data", adding a "Create a custom map" new link, that points to http://umap.openstreetmap.fr/map/new/?importUrl={overpass-url}&importFormat=osm (that URL would be obviously configurable: for example, Swiss instance of overpass-turbo would point to http://umap.osm.ch instead).
Those are just suggestions to start a discussion. I may have missed important points, and maybe not every points of mines make sense (I'm not sure for example how overpass-turbo deals with Overpass "convert" step) ;)
Thanks in advance for your thoughts on this!
Yohan