osrm-backend/profiles/lib
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
..
access.lua lua: eliminte tag cache, simplify tag checks 2016-11-18 00:21:34 +01:00
destination.lua Supports destination:street, resolves #3541 2017-01-13 11:07:01 +05:30
guidance.lua Update tests expectations and obvious detection 2018-03-20 16:33:15 +01:00
maxspeed.lua Use lua 5.2+ without needing compatibility flags. 2015-05-15 15:02:23 +02:00
measure.lua Cast string to number in Lua 2020-11-30 17:25:35 -07:00
pprint.lua lua: helpers for debugging 2016-11-18 00:21:34 +01:00
profile_debugger.lua Profile debug script to fetch a way from OSM 2020-12-10 11:02:04 +00:00
relations.lua Adds cardinal_directions flag to profiles and disables ref-rewriting by default 2017-10-26 20:38:41 +01:00
sequence.lua profiles api v2 2017-07-18 10:09:22 +00:00
set.lua lua: Set and Sequence 2016-11-18 00:21:34 +01:00
tags.lua Handle oneways in get_forward_backward_by_key 2018-03-05 13:19:57 +01:00
traffic_signal.lua Support OSM traffic signal directions (#6153) 2022-08-30 10:36:49 +01:00
utils.lua Add test for route relation process in car.lua. Some fixes 2017-10-16 12:15:12 +01:00
way_handlers.lua Lua maxspeed parsing refactoring (#5144) 2018-12-14 21:58:07 -07:00