Update trekking.brf

This commit is contained in:
maciejs 2024-12-04 20:10:38 +01:00 committed by GitHub
parent f2cba63c8a
commit a10a193223
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 10000
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