osrm-backend/profiles
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
..
examples Allow specifing a weight for routing that is independent of duration 2017-01-27 11:19:37 +01:00
lib Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
bicycle.lua Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
car.lua Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
debug_example.lua Fix profiles/debug_example.lua cannot interprete by lua 2020-04-09 16:05:37 +07:00
debug_way.lua Update comments 2020-12-15 12:49:52 +00:00
foot.lua Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
rasterbot.lua profiles api v2 2017-07-18 10:09:22 +00:00
rasterbotinterp.lua profiles api v2 2017-07-18 10:09:22 +00:00
test.lua Fix broken path in documentation (#5636) 2020-08-10 08:50:15 -07:00
testbot.lua Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
turnbot.lua profiles api v2 2017-07-18 10:09:22 +00:00