diff --git a/features/bicycle/barrier.feature b/features/bicycle/barrier.feature index d39a570d7..15cd48433 100644 --- a/features/bicycle/barrier.feature +++ b/features/bicycle/barrier.feature @@ -19,6 +19,7 @@ Feature: Barriers | wall | | | fence | | | some_tag | | + | block | x | Scenario: Bike - Access tag trumphs barriers Then routability should be diff --git a/features/car/barrier.feature b/features/car/barrier.feature index 3f5bef53e..19cee210d 100644 --- a/features/car/barrier.feature +++ b/features/car/barrier.feature @@ -19,6 +19,7 @@ Feature: Car - Barriers | wall | | | fence | | | some_tag | | + | block | | Scenario: Car - Access tag trumphs barriers Then routability should be diff --git a/features/foot/barrier.feature b/features/foot/barrier.feature index 18fa4deac..1dda71928 100644 --- a/features/foot/barrier.feature +++ b/features/foot/barrier.feature @@ -19,6 +19,7 @@ Feature: Barriers | wall | | | fence | | | some_tag | | + | block | x | Scenario: Foot - Access tag trumphs barriers Then routability should be diff --git a/profiles/bicycle.lua b/profiles/bicycle.lua index ffc70b24f..fddd7d47b 100644 --- a/profiles/bicycle.lua +++ b/profiles/bicycle.lua @@ -4,7 +4,7 @@ local find_access_tag = require("lib/access").find_access_tag 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 } +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_restricted = { ["destination"] = true, ["delivery"] = true } diff --git a/profiles/foot.lua b/profiles/foot.lua index 3d676ba3b..172fe2abd 100644 --- a/profiles/foot.lua +++ b/profiles/foot.lua @@ -3,7 +3,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} +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_restricted = { ["destination"] = true, ["delivery"] = true }