Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for unused oneway=true, see abrensch/brouter#416 #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Trekking-No-Flat.brf
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ assign accesspenalty =
# to push your bike)
#
assign oneway =
if oneway= then junction=roundabout else oneway=yes|true|1
if oneway= then junction=roundabout else oneway=yes|1

assign onewaypenalty =
if ( if reversedirection=yes then oneway else oneway=-1 ) then
Expand Down
4 changes: 2 additions & 2 deletions Trekking-Poutnik.brf
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ assign badoneway =
if reversedirection=yes then
if oneway:bicycle=yes then true
else if oneway= then junction=roundabout
else oneway=yes|true|1
else oneway=yes|1
else oneway=-1

assign onewaypenalty =
Expand Down Expand Up @@ -518,7 +518,7 @@ assign priorityclassifier = (

assign isbadoneway = not equal onewaypenalty 0
assign isgoodoneway = if reversedirection=yes then oneway=-1
else if oneway= then junction=roundabout else oneway=yes|true|1
else if oneway= then junction=roundabout else oneway=yes|1
assign isroundabout = junction=roundabout
assign islinktype = highway=motorway_link|trunk_link|primary_link|secondary_link|tertiary_link
assign isgoodforcars = if greater priorityclassifier 6 then true
Expand Down
4 changes: 2 additions & 2 deletions Trekking-hilly-paths.brf
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ assign badoneway =
if reversedirection=yes then
if oneway:bicycle=yes then true # added in v
else if oneway= then junction=roundabout
else oneway=yes|true|1
else oneway=yes|1
else oneway=-1


Expand Down Expand Up @@ -643,7 +643,7 @@ assign priorityclassifier = (

assign isbadoneway = not equal onewaypenalty 0
assign isgoodoneway = if reversedirection=yes then oneway=-1
else if oneway= then junction=roundabout else oneway=yes|true|1
else if oneway= then junction=roundabout else oneway=yes|1
assign isroundabout = junction=roundabout
assign islinktype = highway=motorway_link|trunk_link|primary_link|secondary_link|tertiary_link
assign isgoodforcars = if greater priorityclassifier 6 then true
Expand Down
4 changes: 2 additions & 2 deletions Trekking-tracks.brf
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ assign badoneway =
if reversedirection=yes then
if oneway:bicycle=yes then true # added in v
else if oneway= then junction=roundabout
else oneway=yes|true|1
else oneway=yes|1
else oneway=-1


Expand Down Expand Up @@ -644,7 +644,7 @@ assign priorityclassifier = (

assign isbadoneway = not equal onewaypenalty 0
assign isgoodoneway = if reversedirection=yes then oneway=-1
else if oneway= then junction=roundabout else oneway=yes|true|1
else if oneway= then junction=roundabout else oneway=yes|1
assign isroundabout = junction=roundabout
assign islinktype = highway=motorway_link|trunk_link|primary_link|secondary_link|tertiary_link
assign isgoodforcars = if greater priorityclassifier 6 then true
Expand Down
4 changes: 2 additions & 2 deletions Trekking-valley.brf
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ assign accesspenalty =
#
assign badoneway =
if reversedirection=yes then
if oneway= then junction=roundabout else oneway=yes|true|1
if oneway= then junction=roundabout else oneway=yes|1
else oneway=-1


Expand Down Expand Up @@ -515,7 +515,7 @@ assign priorityclassifier =

assign isbadoneway = not equal onewaypenalty 0
assign isgoodoneway = if reversedirection=yes then oneway=-1
else if oneway= then junction=roundabout else oneway=yes|true|1
else if oneway= then junction=roundabout else oneway=yes|1
assign isroundabout = junction=roundabout
assign islinktype = highway=motorway_link|trunk_link|primary_link|secondary_link|tertiary_link
assign isgoodforcars = if greater priorityclassifier 6 then true
Expand Down