Hello,
it look like that there is a bug in the OSRM [1]. The via_indices does not corrospond to the the posistion elemente in the route_instruction, so it is until now not possible to get just a partial travel time and distacne from a way point to another way point.
Kind regards
Carsten
[1] https://github.com/DennisOSRM/Project-OSRM/issues/1020
Gesendet: Freitag, 16. Mai 2014 um 12:53 Uhr
Von: "Carsten Malchow" <[email protected]>
An: "Mailing list to discuss Project OSRM" <[email protected]>
Betreff: [OSRM-talk] Route summary to single waypoint
Von: "Carsten Malchow" <[email protected]>
An: "Mailing list to discuss Project OSRM" <[email protected]>
Betreff: [OSRM-talk] Route summary to single waypoint
Hello together,
I get stucked a little bit with the route instructions. Is it possibale to extracted a small route summary to each waypoint that I inclued between the start and end point, somethink like travel time and distances? I know that in the route instruction to every point the distances is given to the next node. So it would not be the problem to sum up the distance, but how can I do this with the travel time? This leads me to the next problem, how can I get the position in the route instruction array of a waypoint? I was tring to use the via_indices but I didn't understand this. What Index contain this array?
Kind regards
Carsten
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
