Project-OSRM / project-osrm.github.com

The projects web site

Home Page:http://project-osrm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Route export from OSRM website

holgersoft opened this issue · comments

It would be nice to have the option to export a route from the OSRM website. Preferably in GPX format. I use such tracks to guide offline routing, e.g. with OsmAnd. The use case is to store some alternative routes before the trip starts and then use the one the fits best.

Apparently there is a way to get a GEOJson file from the command line. But to download it from a calculated route from the web site is much more convenient.

👍 we should at least support GeoJSON exports.

GPX support was removed from osrm-backend and therefore the frontend can no longer make use of it.

In the current API we're already returning a GeoJSON geometry which we could either export as is or convert to GPX on the fly (Javascript) and transparently for the user.

Tracking in the frontend over at Project-OSRM/osrm-frontend#190 since this repository is only used to serve the frontend's static output via Github Pages.