Merge pull request #745 from maciejs/maciejs-patch-1
Update trekking.brf Thank you for your cooperation. If it is not ready yet, please feel free to reopen it.
This commit is contained in:
commit
a6679b8848
@ -135,10 +135,9 @@ assign bikeaccess =
|
||||
# calculate logical foot access
|
||||
#
|
||||
assign footaccess =
|
||||
if bikeaccess then true
|
||||
else if bicycle=dismount then true
|
||||
if bicycle=dismount then true
|
||||
else if foot= then defaultaccess
|
||||
else not foot=private|no
|
||||
else not foot=private|no|use_sidepath
|
||||
|
||||
#
|
||||
# if not bike-, but foot-acess, just a moderate penalty,
|
||||
@ -172,6 +171,7 @@ assign onewaypenalty =
|
||||
else if ( oneway:bicycle=no ) then 0
|
||||
else if ( cycleway:left:oneway=no ) then 0
|
||||
else if ( cycleway:right:oneway=no ) then 0
|
||||
else if ( not footaccess ) then 100
|
||||
else if ( junction=roundabout|circular ) then 60
|
||||
else if ( highway=primary|primary_link ) then 50
|
||||
else if ( highway=secondary|secondary_link ) then 30
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user