brouter-web icon indicating copy to clipboard operation
brouter-web copied to clipboard

Use an OSM route as a route

Open pyrog opened this issue 3 years ago • 1 comments

Related to #312

Currently, one could download an OSM relation route in gpx format from way marked trails , and upload it in brouter.

Example :

brouter web and/or brouter API could use OSM relation directly.

pyrog avatar Jul 20 '22 17:07 pyrog

The routing data only knows about network type on a way, not about individual routes, so we would need to get the route geometry from an external service like Overpass API. Waymarked trails explicitly doesn't allow other services to use their data.

The other question is how to select an OSM route. Ideally by clicking on the map, which would again need an external vector tile service (all commercial) or querying the Overpass API. A simple alternative would be entering the relation id or drag&drop of an URL with the relation id.

Rather sooner than later we will probably need to use commercial services or setup our own for such things, which both requires money (and additional maintenance effort).

nrenner avatar Jul 21 '22 16:07 nrenner