Rewrite lua bindings using sol interface
This commit is contained in:
committed by
Patrick Niklaus
parent
6e7fe5feb0
commit
0f59b78c02
@@ -239,7 +239,6 @@ function way_function (way, result)
|
||||
-- ferries (doesn't cover routes tagged using relations)
|
||||
result.forward_mode = mode.ferry
|
||||
result.backward_mode = mode.ferry
|
||||
result.ignore_in_grid = true
|
||||
if duration and durationIsValid(duration) then
|
||||
result.duration = math.max( 1, parseDuration(duration) )
|
||||
else
|
||||
|
||||
@@ -7,7 +7,6 @@ barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true,
|
||||
access_tag_whitelist = { ["yes"] = true, ["foot"] = true, ["permissive"] = true, ["designated"] = true }
|
||||
access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["delivery"] = true }
|
||||
access_tags_hierarchy = { "foot", "access" }
|
||||
ignore_in_grid = { ["ferry"] = true }
|
||||
restrictions = { "foot" }
|
||||
|
||||
walking_speed = 5
|
||||
|
||||
Reference in New Issue
Block a user