Prefer cycleway=lane for bike
Author: karussellCreated Nov 28, 2018Updated Jul 5, 2026
Labelsimprovementosmgood first issue
This route should reduce zigzags like this or this. Due to this way.
See wiki: https://wiki.openstreetmap.org/wiki/Tag:cycleway=lane
Related to #280 and #1454
Update: we already slightly increase the priority for cycleway=lane and more is probably not a proper solution for other cases as painted cycleways are not really a big advantage. Now, using this branch and turn_costs:{left:6,right:6} already improves this situation a lot:
Source: graphhopper/graphhopper