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:
- Users can "upload" a GPX file (needs max file size) or copy/paste an encoded polyline
- We parse the polyline or GPX file and display the input to the user simply as a LineString
- When the user chooses to map-match with the input, hits a button
- We send the input to
/trace_route and generate the maneuvers & route summary and of course display the final route
Devil's in the details of course, but might not be that crazy much work to realize.
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:
/trace_routeand generate the maneuvers & route summary and of course display the final routeDevil's in the details of course, but might not be that crazy much work to realize.