diff --git a/profiles/bicycle.lua b/profiles/bicycle.lua index d6db0739e..8925a7664 100644 --- a/profiles/bicycle.lua +++ b/profiles/bicycle.lua @@ -544,6 +544,7 @@ function turn_function(turn) turn.duration = turn.duration + profile.traffic_light_penalty end if properties.weight_name == 'cyclability' then + turn.weight = turn.duration -- penalize turns from non-local access only segments onto local access only tags if not turn.source_restricted and turn.target_restricted then turn.weight = turn.weight + 3000