Merge pull request #570 from Totorrr/profiles-oneway-bicycle-leftright
Also consider cycleway:left:oneway & cycleway:right:oneway in onewaypenalty
This commit is contained in:
commit
cada37b4de
3 changed files with 6 additions and 0 deletions
|
@ -142,6 +142,8 @@ assign onewaypenalty =
|
||||||
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
|
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
|
||||||
else if ( cycleway:right=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 ( 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 ( 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
|
||||||
|
|
|
@ -138,6 +138,8 @@ assign onewaypenalty =
|
||||||
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
|
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
|
||||||
else if ( cycleway:right=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 ( 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 ( 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
|
||||||
|
|
|
@ -159,6 +159,8 @@ assign onewaypenalty =
|
||||||
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
|
else if ( cycleway:left=opposite|opposite_lane|opposite_track ) then 0
|
||||||
else if ( cycleway:right=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 ( 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 ( 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
|
||||||
|
|
Loading…
Reference in a new issue