Avoid -> Exclude

This commit is contained in:
Patrick Niklaus
2017-08-16 20:21:19 +00:00
committed by Patrick Niklaus
parent 45140ca9f7
commit d09f5c0e3a
27 changed files with 145 additions and 142 deletions
+2 -2
View File
@@ -104,8 +104,8 @@ function setup()
'toll', 'motorway', 'ferry', 'restricted'
},
-- classes to support for avoid flags
avoidable = Sequence {
-- classes to support for exclude flags
excludable = Sequence {
Set {'toll'},
Set {'motorway'},
Set {'ferry'}
+3 -1
View File
@@ -19,7 +19,9 @@ function setup()
use_turn_restrictions = true
},
avoidable = {
classes = {["motorway"] = true, ["toll"] = true},
excludable = {
[1] = {["motorway"] = true},
[2] = {["toll"] = true},
[3] = {["motorway"] = true, ["toll"] = true}