Module map_model::make::turns[][src]

Functions

Generate all driving and walking turns at an intersection, accounting for OSM turn restrictions.

Ideally, we want every incoming lane to lead to at least one lane of the same type, and every outgoing lane to be reachable by at least one lane of the same type. But if it’s a bus or bike lane, settle for being connected to anything – even just a driving lane. There’s naturally places where these dedicated lanes start and end.