Enhance Pedestrian Routing
The majority of mapped sidewalks in OSM lack explicit names, which makes Valhalla generate vague pedestrian routing instructions. This project aims to resolve this problem with three different steps: First, parsing existing OSM tags such as (is_sidepath:of:name, street:name) that are currently ignored, as name aliases. This is a low-risk change that immediately benefits around 30,000 ways worldwide. Then, implementing spatial join in the graph enhancer that assigns street names to unnamed sidewalks by comparing them to nearby vehicular edges with matching heading parallelism and geometric proximity, using angle and distance thresholds. Third will be adjusting Odin's narrative generation so derived names produce natural phrasing instead of the current vague ones. Deliverables include Lua tag parsing with gurka integration tests, the spatial join algorithm with edge case handling, modified maneuver instructions, and performance benchmarks measuring tile build impact. Nice-to-have goals include using (is_sidepath:of) to adjust road class in the Sif pedestrian costing, detecting park entrances and the new ideas we discover during the project.
Project details
Technologies
Not listed in the archive