Module map_model::make::walking_turns[][src]

Functions

Filter out crosswalks on really short roads. In reality, these roads are usually located within an intersection, which isn’t a valid place for a pedestrian crossing.

At an intersection of footpaths only, just generate a turn between every pair of lanes.

Generate Crosswalk and SharedSidewalkCorner (places where two sidewalks directly meet) turns. UnmarkedCrossings are not generated here; another process later “downgrades” crosswalks to unmarked.

A complete rewrite of make_walking_turns, which looks at all sidewalks (or lack thereof) in counter-clockwise order around an intersection. Based on adjacency, create a SharedSidewalkCorner or a Crosswalk.