[OSRM-talk] Order of via_points in /trip response

Prateek Sachan ps at prateeksachan.com
Wed Dec 9 11:20:14 UTC 2015

Firing a query like:


The order of the points in the response in via_points object was:

   1. 19.123192,72.892303
   2. 18.935261,72.837151
   3. 18.941444,72.828468
   4. 18.945871,72.82399
   5. 18.945871,72.82399
   6. 18.945871,72.82399
   7. 18.962875,72.817871
   8. 19.123192,72.892303

Why don't the points follow the order in which they were input in the
query? Why are the points changed in via_points and appear slightly
different than the original ones supplied in the query?

Also, is the last loc (in the query) always the first and last via_point?

The same issue I have posted on osrm github[1].

[1]: https://github.com/Project-OSRM/osrm-backend/issues/1806

Prateek Sachan
Indian Institute of Technology Delhi, 2014
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20151209/eab28d0b/attachment.html>

More information about the OSRM-talk mailing list