osrm-backend/features
Michael Bell bfb74c2dad
Fix snapping target locations to ways used in turn restrictions (#6339)
Currently there is an edge-case in the turn restriction implementation,
such that routes can not be found if the target input location snaps
to a way used in a (multi) via restriction.

With the addition of snapping input locations to multiple ways, we
can now also snap to the "duplicate" edges created for the restriction graph,
thereby fixing the problem.
This is achieved by adding the duplicate restriction edges to the
geospatial search RTree.

This does open up the possibility of multiple paths representing exactly
the same route - one using the original edge as a source, the other
using the duplicate restriction graph edge as source. This is fine,
as both edges are represented by the same geometry, so will generate
the same result.
2022-08-27 15:59:44 +01:00
..
bicycle Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +01:00
car Fix snapping target locations to ways used in turn restrictions (#6339) 2022-08-27 15:59:44 +01:00
foot Fix bug with reading Set values from Lua scripts. (#6285) 2022-07-30 23:14:06 +01:00
guidance Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +01:00
lib Configure Undefined Behaviour Sanitizer (#6290) 2022-08-01 22:40:26 +01:00
nearest Add data_version field to responses of all plugins. (#5387) 2022-08-22 21:07:32 +02:00
options Fix turn.roads_on_the_left and turn.roads_on_the right for two-way roads #5128 2021-01-27 10:53:00 +01:00
raster Fix distance calculation consistency. (#6315) 2022-08-19 22:31:40 +01:00
step_definitions Add data_version field to responses of all plugins. (#5387) 2022-08-22 21:07:32 +02:00
stress cucumber: change syntax of node maps 2016-10-11 09:07:48 +02:00
support Fix distance calculation consistency. (#6315) 2022-08-19 22:31:40 +01:00
testbot Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +01:00