BostonCyclistsUnion / StressMap

Calculating Level of Traffic Stress using Open Street Map data
4 stars 3 forks source link

Merge parallel ways #20

Open sckilcoyne opened 1 month ago

sckilcoyne commented 1 month ago

Streets with medians or separated bike lanes result in multiple parallel ways in OSM. This can make the map more complicated to view. Also, Mapbox has limits on the number of features displayed per tile per zoom level. To show more detail at a given zoom, merging ways would reduce the number of features plotted without reducing the number of streets being displayed.

From @bpben previous project: https://github.com/insight-lane/crash-model/blob/master/src/data/create_segments.py

How to plot lines that have multiple different ratings and clearly express what is happening will be critical.