gis-ops / valhalla-app

This is the demo web app running on https://valhalla.openstreetmap.de
https://valhalla.openstreetmap.de
MIT License
163 stars 90 forks source link

Implement /trace_route #159

Open nilsnolde opened 1 year ago

nilsnolde commented 1 year ago

What would you like to share?

Extend the frontend with map-matching functionalities. I'd suggest to support both inputs, encoded polyline (e.g. from an existing Valhalla response shape) and GPX (will need conversion to JSON, incl timestamps ideally). There'd obviously be no waypoint input by the user.

Approx:

Devil's in the details of course, but might not be that crazy much work to realize.

MihirKp25 commented 1 year ago

Out of context from issue. Is there any way we can create a GPX file from OSM only?

nilsnolde commented 1 year ago

Yeah, more one for stackoverflow or OSM forum. But also not sure I understand the question.. GPX is just another „geographic“ format for some random LineString. OSM has nothing to do with it. Usually you’d record a track via GPS and the exchange/export format is (unfortunately) often GPX. Nothing stops you from creating a custom GPX file manually or via some scripting.