osrm-backend/include/engine/guidance
Daniel J. Hofmann 86fd04e556 Improves lane handling for subsequent going straight, resolves #2625
Before we only worked on subsequent quick turns, as in:
`right, right` keeps the user on the rightmost lanes.

This changeset modifies the logic to work on any subsequent steps
that are "quick" and have lane information we can constrain later.

Because we do not have a from-lane => to-lanes mapping we take the
lanes left and right of the turn lanes into account when heuristically
assigning the leftmost / rightmost lanes.

There are some edge cases where this still does not give us the optimal
solution but it gets close to what is actually possible at the moment
without having a lane mapping in post-processing.

References:
- https://github.com/Project-OSRM/osrm-backend/issues/2625

fix rebase
2016-09-07 12:17:36 +02:00
..
assemble_geometry.hpp Clang format. 2016-07-30 23:53:38 +02:00
assemble_leg.hpp Sync with Clang38 Format 2016-06-02 13:14:33 +02:00
assemble_overview.hpp First round of lat,lng -> lng,lat switcheroo 2016-04-05 22:58:32 +02:00
assemble_route.hpp Format with clang-format 3.8 2016-05-27 21:05:04 +02:00
assemble_steps.hpp Apply clang-format again 2016-07-26 15:00:58 +02:00
lane_processing.hpp Warn on unused return values in guidance code, resolves #2686. 2016-08-03 12:26:07 +02:00
leg_geometry.hpp Include datasources for each segment in route annotation. 2016-07-27 15:51:11 -07:00
post_processing.hpp Improves lane handling for subsequent going straight, resolves #2625 2016-09-07 12:17:36 +02:00
route_leg.hpp Revert "Removes summary from legs property" 2016-04-21 22:39:16 +02:00
route_step.hpp switch api format to new structure 2016-07-21 17:42:10 +02:00
route.hpp Runs scripts/format.sh 2016-04-05 22:58:32 +02:00
step_maneuver.hpp Static checks for guidance array sizes. 2016-08-12 18:52:54 +03:00
toolkit.hpp Improves Lane Handling for Multi-Hop Roundabout Instruction 2016-07-13 10:44:12 +02:00