Skip to content

Implement /trace_route #159

@nilsnolde

Description

@nilsnolde

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions