diff --git a/features/car/classes.feature b/features/car/classes.feature index 6c2a5cf22b..108ee8cefe 100644 --- a/features/car/classes.feature +++ b/features/car/classes.feature @@ -82,6 +82,23 @@ Feature: Car - Mode flag | from | to | route | turns | classes | | a | d | ab,cd | depart,arrive| [(restricted),(motorway,restricted),()],[()] | + Scenario: Car - We tag access=unknown with a restricted class + Given the node map + """ + a b + c d + """ + + And the ways + | nodes | highway | access | + | ab | primary | unknown | + | bc | motorway| unknown | + | cd | primary | | + + When I route I should get + | from | to | route | turns | classes | + | a | d | ab,cd | depart,arrive| [(restricted),(motorway,restricted),()],[()] | + Scenario: Car - We tag toll with a class Given the node map """ diff --git a/profiles/car.lua b/profiles/car.lua index e65b7c3afa..1702d934f2 100644 --- a/profiles/car.lua +++ b/profiles/car.lua @@ -86,8 +86,7 @@ function setup() 'vehicle', 'permissive', 'designated', - 'hov', - 'unknown' + 'hov' }, access_tag_blacklist = Set { @@ -125,6 +124,7 @@ function setup() 'customers', 'permit', 'residents', + 'unknown', }, access_tags_hierarchy = Sequence {