osrm-backend/src/extractor
Michael Bell b17cbb4c47
Support OSM traffic signal directions (#6153)
Currently OSRM parses traffic signal nodes without consideration
for the direction in which the signal applies. This can lead
to duplicated routing penalties, especially when a forward and backward
signal are in close proximity on a way.

This commit adds support for directed signals to the extraction and
graph creation. Signal penalties are only applied in the direction
specified by the OSM tag.

We add the assignment of traffic directions to the lua scripts,
maintaining backwards compatibility with the existing boolean
traffic states.

As part of the changes to the internal structures used for tracking
traffic signals during extraction, we stop serialising/deserialising
signals to the `.osrm` file. The traffic signals are only used by
`osrm-extract` so whilst this is a data format change, it will not
break any existing user processes.
2022-08-30 10:36:49 +01:00
..
intersection Fix distance calculation consistency. (#6315) 2022-08-19 22:31:40 +01:00
compressed_edge_container.cpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
edge_based_graph_factory.cpp Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
extraction_containers.cpp Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
extractor_callbacks.cpp Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
extractor.cpp Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
graph_compressor.cpp Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
location_dependent_data.cpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
maneuver_override_relation_parser.cpp Improvements to maneuver override processing (#6215) 2022-08-24 16:19:24 +01:00
node_based_graph_factory.cpp Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
raster_source.cpp Upgrade formatting to clang-format 10 (#5895) 2020-11-26 07:21:39 -08:00
restriction_graph.cpp Improvements to maneuver override processing (#6215) 2022-08-24 16:19:24 +01:00
restriction_parser.cpp Improvements to maneuver override processing (#6215) 2022-08-24 16:19:24 +01:00
scripting_environment_lua.cpp Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
suffix_table.cpp Implements Zero-Copy String Views onto Contiguous Memory, resolves #3265. 2017-01-23 15:22:39 +01:00
turn_path_compressor.cpp Improvements to maneuver override processing (#6215) 2022-08-24 16:19:24 +01:00
turn_path_filter.cpp Improvements to maneuver override processing (#6215) 2022-08-24 16:19:24 +01:00
way_restriction_map.cpp Add support for multiple via-way restrictions (#5907) 2020-12-20 13:59:57 -08:00