Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.34k stars 3.35k forks source link

Attach `duration` and `distance` to `intersection` array #4261

Open daniel-j-h opened 7 years ago

daniel-j-h commented 7 years ago

Our intersection array represents the intersection for the maneuver plus any additional intersections the user crosses until the next maneuver: http://project-osrm.org/docs/v5.7.0/api/#intersection-object

In case clients want to tell users to stay on a specific lane or keep going straight at intermediate intersections they need the distance and duration (and weight?) for deciding when to announce this.

Therefore we need to attach distance and duration to the intermediate intersections for clients:

Tasks:

mattwigway commented 1 year ago

I was wondering what the status of this is. I need this for an analytical application (I need to know how far is traveled on different classes for my analysis; class information is in the intersection object). I'm happy to take a stab at implementing it but don't want to start on it if there was a reason why it was chosen not to implement.

github-actions[bot] commented 2 months ago

This issue seems to be stale. It will be closed in 30 days if no further activity occurs.