Also consider cycleway:left:oneway & cycleway:right:oneway in onewaypenalty
This commit is contained in:
parent
ef73d468c0
commit
df19fcf891
@ -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…
x
Reference in New Issue
Block a user