Crate traffic_signal_data
source · [−]Expand description
A representation of traffic signal configuration that references OpenStreetMap IDs and is hopefully robust to minor edits over time.
Structs
A road segment connecting two intersections, and a direction along the segment.
A plan describes how a traffic signal is configured during some period of time. Multiple plans allow a single intersection to behave differently in the middle of the night with low traffic, compared to the middle of rush hour.
A traffic signal is in one stage at any time. The stage describes what movements are possible.
A movement through an intersection.
Enums
How long a stage lasts before moving to the next one.
Statics
Functions
Returns all traffic signal data compiled into this build, keyed by OSM node ID. If any single file is broken, returns an error for the entire load.