Skip to content

Commit

Permalink
Merge pull request #570 from Totorrr/profiles-oneway-bicycle-leftright
Browse files Browse the repository at this point in the history
Also consider cycleway:left:oneway & cycleway:right:oneway in onewaypenalty
  • Loading branch information
afischerdev committed Jun 29, 2023
2 parents ef73d46 + df19fcf commit cada37b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/profiles2/fastbike-verylowtraffic.brf
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ assign onewaypenalty =
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
else if ( cycleway:right=opposite|opposite_lane|opposite_track ) then 0
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 ( junction=roundabout|circular ) then 60
else if ( highway=primary|primary_link ) then 50
else if ( highway=secondary|secondary_link ) then 30
Expand Down
2 changes: 2 additions & 0 deletions misc/profiles2/fastbike.brf
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ assign onewaypenalty =
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
else if ( cycleway:right=opposite|opposite_lane|opposite_track ) then 0
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 ( junction=roundabout|circular ) then 60
else if ( highway=primary|primary_link ) then 50
else if ( highway=secondary|secondary_link ) then 30
Expand Down
2 changes: 2 additions & 0 deletions misc/profiles2/trekking.brf
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ assign onewaypenalty =
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
else if ( cycleway:right=opposite|opposite_lane|opposite_track ) then 0
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 ( 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 cada37b

Please sign in to comment.