Avoid all highways listed in the avoid set
Even though the speeds are defined for a certain road class, routing should be avoided as it is listed in the `avoid set`.
This commit is contained in:
committed by
Patrick Niklaus
parent
659b470320
commit
b99d3a0a69
@@ -356,6 +356,7 @@ function process_way(profile, way, result, relations)
|
||||
-- routable. this includes things like status=impassable,
|
||||
-- toll=yes and oneway=reversible
|
||||
WayHandlers.blocked_ways,
|
||||
WayHandlers.avoid_ways,
|
||||
|
||||
-- determine access status by checking our hierarchy of
|
||||
-- access tags, e.g: motorcar, motor_vehicle, vehicle
|
||||
|
||||
Reference in New Issue
Block a user