Skip to content

Commit

Permalink
Merge pull request #745 from maciejs/maciejs-patch-1
Browse files Browse the repository at this point in the history
Update trekking.brf

Thank you for your cooperation.
If it is not ready yet, please feel free to reopen it.
  • Loading branch information
afischerdev authored Jan 21, 2025
2 parents 88e7d58 + b1b9a89 commit a6679b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misc/profiles2/trekking.brf
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a6679b8

Please sign in to comment.