better handling of access and barrier tags
This commit is contained in:
@@ -7,6 +7,7 @@ Feature: Bike - Restricted access
|
||||
Scenario: Bike - Access tags on ways
|
||||
Then routability should be
|
||||
| access | bothw |
|
||||
| | x |
|
||||
| yes | x |
|
||||
| motorcar | x |
|
||||
| motor_vehicle | x |
|
||||
@@ -14,31 +15,17 @@ Feature: Bike - Restricted access
|
||||
| permissive | x |
|
||||
| designated | x |
|
||||
| no | |
|
||||
| foot | |
|
||||
| private | |
|
||||
| agricultural | |
|
||||
| forestry | |
|
||||
| designated | |
|
||||
| forestery | |
|
||||
| some_tag | x |
|
||||
|
||||
Scenario: Bike - Access tags for other modes should have no effect
|
||||
Then routability should be
|
||||
| access | bothw |
|
||||
| ufo:yes | x |
|
||||
| ufo:motorcar | x |
|
||||
| ufo:motor_vehicle | x |
|
||||
| ufo:vehicle | x |
|
||||
| ufo:permissive | x |
|
||||
| ufo:designated | x |
|
||||
| ufo:no | x |
|
||||
| ufo:private | x |
|
||||
| ufo:agricultural | x |
|
||||
| ufo:forestry | x |
|
||||
| ufo:designated | x |
|
||||
| ufo:some_tag | x |
|
||||
|
||||
Scenario: Bike - Access tags on nodes
|
||||
Then routability should be
|
||||
| node:access | bothw |
|
||||
| node/access | bothw |
|
||||
| | x |
|
||||
| yes | x |
|
||||
| motorcar | x |
|
||||
| motor_vehicle | x |
|
||||
@@ -46,21 +33,24 @@ Feature: Bike - Restricted access
|
||||
| permissive | x |
|
||||
| designated | x |
|
||||
| no | |
|
||||
| foot | |
|
||||
| private | |
|
||||
| agricultural | |
|
||||
| forestry | |
|
||||
| designated | |
|
||||
| forestery | |
|
||||
| some_tag | x |
|
||||
|
||||
Scenario: Bike - Access tags on both nodes and way
|
||||
Then routability should be
|
||||
| access | node:access | bothw |
|
||||
| access | node/access | bothw |
|
||||
| yes | yes | x |
|
||||
| yes | no | |
|
||||
| yes | some_tag | |
|
||||
| yes | foot | |
|
||||
| yes | some_tag | x |
|
||||
| no | yes | |
|
||||
| no | no | |
|
||||
| no | foot | |
|
||||
| no | some_tag | |
|
||||
| some_tag | yes | |
|
||||
| some_tag | yes | x |
|
||||
| some_tag | no | |
|
||||
| some_tag | some_tag | |
|
||||
| some_tag | foot | |
|
||||
| some_tag | some_tag | x |
|
||||
|
||||
Reference in New Issue
Block a user