osrm-backend/features/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
..
advanced-lanes.feature don't assign lanes on delayed turns 2016-09-07 12:17:34 +02:00
anticipate-lanes.feature Improves lane handling for subsequent going straight, resolves #2625 2016-09-07 12:17:36 +02:00
bridges_and_tunnels.feature suppress name additions (xxx -> xxxbridge) 2016-04-27 12:13:42 +02:00
bugs.feature catch infinite loops 2016-09-05 14:52:13 +02:00
collapse-detail.feature additional collapse cases 2016-08-19 12:43:51 +02:00
collapse.feature don't assign lanes on delayed turns 2016-09-07 12:17:34 +02:00
continue.feature fix continue on obvious 2016-05-23 17:55:30 +02:00
dedicated-turn-roads.feature don't detect sliproads at wrong locations, don't emit invalid instructions 2016-09-06 09:01:06 +02:00
destination-signs.feature Add destinations API feature 2016-06-02 12:00:23 +02:00
end-of-road.feature adding a todo testscase / regression test-case 2016-07-15 10:35:25 +02:00
fork.feature change paradigm of merge to only emit on motorway-like roads 2016-07-30 23:55:39 +02:00
intersections.feature reduce number of end-of-road instructions in unnecessary cases 2016-06-26 16:40:15 +02:00
merge.feature change paradigm of merge to only emit on motorway-like roads 2016-07-30 23:55:39 +02:00
motorway.feature handle steep off-ramps 2016-06-21 00:47:43 +02:00
new-name.feature Scenario for unnecessary slight left onto Stralauer Str 2016-08-24 10:12:27 +02:00
perception.feature improve segregated road detection 2016-08-24 10:34:07 +02:00
post-processing.feature reduce number of end-of-road instructions in unnecessary cases 2016-06-26 16:40:15 +02:00
ramp.feature handle missing cases, cleaning up 2016-08-24 10:34:07 +02:00
rotary-bike.feature adding tests for guidance 2016-04-08 10:43:22 +02:00
rotary.feature fix copy-paste errors in guidance tests 2016-04-26 13:43:22 +02:00
roundabout-bike.feature Be more aggresive classifying Roundabout Intersections. 2016-08-18 10:50:32 +02:00
roundabout-turn-bike.feature Be more aggresive classifying Roundabout Intersections. 2016-08-18 10:50:32 +02:00
roundabout-turn.feature Be more aggresive classifying Roundabout Intersections. 2016-08-18 10:50:32 +02:00
roundabout.feature detect broken roundabout-taggings 2016-09-05 16:49:57 +02:00
staggered-intersections.feature Collapse Staggered Intersections. 2016-08-05 14:35:13 +02:00
suffix-changes.feature correctly detect loss of prefix/suffix 2016-09-05 15:03:21 +02:00
suppressed.feature adding tests for guidance 2016-04-08 10:43:22 +02:00
trimming.feature fix removal of multiple geometries for first vertex 2016-08-09 12:02:07 +02:00
turn-lanes.feature don't assign lanes on delayed turns 2016-09-07 12:17:34 +02:00
turn.feature handle stronger merge cases as well 2016-08-24 10:34:07 +02:00