diff --git a/features/car/access.feature b/features/car/access.feature index 5fd56f39515..8f05ccbcad6 100644 --- a/features/car/access.feature +++ b/features/car/access.feature @@ -125,13 +125,15 @@ Feature: Car - Restricted access Scenario: Car - Access combinations Then routability should be - | highway | accesss | vehicle | motor_vehicle | motorcar | bothw | - | runway | private | | | permissive | x | - | primary | forestry | | yes | | x | - | cycleway | | | designated | | x | - | residential | | yes | no | | | - | motorway | yes | permissive | | private | | - | trunk | agricultural | designated | permissive | no | | + | highway | accesss | vehicle | motor_vehicle | motorcar | bothw | + | runway | private | | | permissive | x | + | primary | forestry | | yes | | x | + | cycleway | | | designated | | x | + | residential | | yes | no | | | + | motorway | yes | permissive | | private | | + | trunk | agricultural | designated | permissive | no | | + | pedestrian | | | | | | + | pedestrian | | | | destination | x | Scenario: Car - Ignore access tags for other modes Then routability should be diff --git a/profiles/car.lua b/profiles/car.lua index 03ca924dc97..d5107324682 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -4,7 +4,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 } +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_restricted = { ["destination"] = true, ["delivery"] = true } access_tags = { "motorcar", "motor_vehicle", "vehicle" }