Hello,

I'm using osrm for trip service.
Often trip returns the index of first coordinate in the middle or in the
end of permutation array, for example:
"permutation":[3,1,0,2].

if the 0-th position is the starting point of the route, how should I
convert array:
[0,2,3,1]
or
[0,1,3,2]?

Practically, reverse direction may be shorter and faster.

Thank you for what you are doing and best regards,
Victor
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to