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:
afischerdev 2025-01-21 17:01:52 +01:00 committed by GitHub
commit a6679b8848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,10 +135,9 @@ assign bikeaccess =
# calculate logical foot access # calculate logical foot access
# #
assign footaccess = assign footaccess =
if bikeaccess then true if bicycle=dismount then true
else if bicycle=dismount then true
else if foot= then defaultaccess 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, # 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 ( oneway:bicycle=no ) then 0
else if ( cycleway:left:oneway=no ) then 0 else if ( cycleway:left:oneway=no ) then 0
else if ( cycleway:right: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 ( junction=roundabout|circular ) then 60
else if ( highway=primary|primary_link ) then 50 else if ( highway=primary|primary_link ) then 50
else if ( highway=secondary|secondary_link ) then 30 else if ( highway=secondary|secondary_link ) then 30