GIScience / ors-map-client

Openrouteservice API web SPA client using VueJS, Vuetify and Vue2Leaflet
http://maps.openrouteservice.org
Apache License 2.0
104 stars 32 forks source link

Download Standard GPX as Route, not Track #259

Open pilian opened 2 years ago

pilian commented 2 years ago

I created a route on the website. After downloading as Standard GPX Format I get a GPX track with tracksegments and trackpoints. A track is the recorded path you did actually, while driving, riding, hiking,

A route is a sequence of waypoints as result of a plan for your navigation.

A route shows where you plan to go. A track shows where you actually went.

The download of Standard GPX should result in a route, because this is a planing tool.

Even better to add a option "Route vs Track".

amoncaldas commented 2 years ago

Hey @pilian Thanks for your feedback.

The ORS maps client is a tool for many types of usage and one of them is to plan a route. But it can also to be used to visualize routes, rebuild a route someone has traversed, find places, check reachable places for a certain profile etc.

But you you are right, the when the route is exported it should use the route structure. But the library we are currently using https://github.com/tyrasd/togpx to convert a geojson to GPX does not support generating a GPX in a route structure. It would be nice to support the exporting of both in the near future. I remember that the project is open source. So, you could also make this contribution.

pilian commented 2 years ago

Hi @amoncaldas I have made this contribution at "togpx", but the project seems not very busy.

0709wiwiwi commented 2 years ago

Combine both gpx (rte)route and a gpx (trk)track. Both rte and trk have their own properties and useful application. Easily combine (and recover) the (rtept) routewaypoints by type Shaping and Via attached into a navigation (trk)track. In this navigation track you can quite easily recover the snapped to road original route (via or shaping) points if desired. By navtrack import in Locus or Cruiser you navigate by the attached TBT instructions inclusive shaping and via point support..

More info in the next contribution. https://forum.locusmap.eu/index.php?topic=5953.msg49519#msg49519

The navigation track(trk) mode is supported by the next applications.

MichaelsJP commented 1 year ago

Let's reduce the GPX options to one and decide on which one does it properly.