osrm-backend/src
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
..
benchmarks Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
contractor Migrate to modern TBB version (#6300) 2022-08-24 18:13:49 +02:00
customize Migrate to modern TBB version (#6300) 2022-08-24 18:13:49 +02:00
engine Support snapping to multiple ways at an input location (#5953) 2022-08-27 11:36:20 +01:00
extractor Fix snapping target locations to ways used in turn restrictions (#6339) 2022-08-27 15:59:44 +01:00
guidance Migrate to modern TBB version (#6300) 2022-08-24 18:13:49 +02:00
nodejs Fix TBB in case of Conan + NodeJS build (#6333) 2022-08-26 17:09:52 +02:00
osrm Add missing files in exception message (#5360) 2022-08-22 08:32:25 +02:00
partitioner Migrate to modern TBB version (#6300) 2022-08-24 18:13:49 +02:00
server Fix HTTP compression precedence (#6331) 2022-08-25 17:49:35 +01:00
storage Remove redundant nullptr check. (#6326) 2022-08-25 00:01:56 +02:00
tools Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
updater Pass osm_node_ids by reference in osrm::updater::Updater class (#6298) 2022-08-15 21:12:58 +01:00
util Enable performance-move-const-arg clang-tidy check (#6319) 2022-08-23 19:03:41 +02:00