From 3ee8b655eac7a7c32d43d4f5e94eb0bd2c245b97 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Mon, 4 Apr 2016 11:49:40 +0200 Subject: [PATCH] Prevents routing over delivery ways and nodes; closes #2150. --- profiles/bicycle.lua | 2 +- profiles/car.lua | 2 +- profiles/foot.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/profiles/bicycle.lua b/profiles/bicycle.lua index b34dd9320..29732bfe9 100644 --- a/profiles/bicycle.lua +++ b/profiles/bicycle.lua @@ -6,7 +6,7 @@ local limit = require("lib/maxspeed").limit -- Begin of globals barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["block"] = true } access_tag_whitelist = { ["yes"] = true, ["permissive"] = true, ["designated"] = true } -access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true } +access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["delivery"] = true } access_tag_restricted = { ["destination"] = true, ["delivery"] = true } access_tags_hierarchy = { "bicycle", "vehicle", "access" } cycleway_tags = {["track"]=true,["lane"]=true,["opposite"]=true,["opposite_lane"]=true,["opposite_track"]=true,["share_busway"]=true,["sharrow"]=true,["shared"]=true } diff --git a/profiles/car.lua b/profiles/car.lua index 30faa3646..3b9bbd2eb 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -5,7 +5,7 @@ local find_access_tag = require("lib/access").find_access_tag -- Begin of globals barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true } access_tag_whitelist = { ["yes"] = true, ["motorcar"] = true, ["motor_vehicle"] = true, ["vehicle"] = true, ["permissive"] = true, ["designated"] = true, ["destination"] = true } -access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["emergency"] = true, ["psv"] = true } +access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["emergency"] = true, ["psv"] = true, ["delivery"] = true } access_tag_restricted = { ["destination"] = true, ["delivery"] = true } access_tags_hierarchy = { "motorcar", "motor_vehicle", "vehicle", "access" } service_tag_restricted = { ["parking_aisle"] = true } diff --git a/profiles/foot.lua b/profiles/foot.lua index 8ac147e43..7805e2d30 100644 --- a/profiles/foot.lua +++ b/profiles/foot.lua @@ -5,7 +5,7 @@ local find_access_tag = require("lib/access").find_access_tag -- Begin of globals barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true, ["block"] = true} access_tag_whitelist = { ["yes"] = true, ["foot"] = true, ["permissive"] = true, ["designated"] = true } -access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true } +access_tag_blacklist = { ["no"] = true, ["private"] = true, ["agricultural"] = true, ["forestry"] = true, ["delivery"] = true } access_tag_restricted = { ["destination"] = true, ["delivery"] = true } access_tags_hierarchy = { "foot", "access" } service_tag_restricted = { ["parking_aisle"] = true }