File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,17 +95,16 @@ assign bikeaccess =
9595 switch vehicle=
9696 ( if highway=footway then false else defaultaccess )
9797 not vehicle=private|no
98- not or bicycle=private or bicycle=no bicycle=dismount
98+ not or bicycle=private or bicycle=no or bicycle=dismount bicycle=use_sidepath
9999
100100#
101101# calculate logical foot access
102102#
103103assign footaccess =
104- or bikeaccess
105- or bicycle=dismount
106- switch foot=
107- defaultaccess
108- not or foot=private foot=no
104+ or bicycle=dismount
105+ switch foot=
106+ defaultaccess
107+ not or foot=private or foot=no foot=use_sidepath
109108
110109#
111110# if not bike-, but foot-acess, just a moderate penalty,
@@ -150,6 +149,7 @@ assign onewaypenalty =
150149 cycleway:right=opposite|opposite_lane|opposite_track
151150 ) then 0
152151 else if ( oneway:bicycle=no ) then 0
152+ else if ( not footaccess ) then 100
153153 else if ( junction=roundabout|circular ) then 60
154154 else if ( highway=primary|primary_link ) then 50
155155 else if ( highway=secondary|secondary_link ) then 30
You can’t perform that action at this time.
0 commit comments