2012-09-30 08:40:59 -04:00
|
|
|
@routing @bicycle @access
|
2012-09-30 06:01:56 -04:00
|
|
|
Feature: Restricted access
|
2012-02-14 11:21:07 -05:00
|
|
|
|
2012-09-30 06:01:56 -04:00
|
|
|
Background:
|
|
|
|
Given the speedprofile "bicycle"
|
|
|
|
|
|
|
|
Scenario: Access tags on ways
|
2012-02-14 11:21:07 -05:00
|
|
|
Then routability should be
|
2012-09-30 06:01:56 -04:00
|
|
|
| access | bothw |
|
|
|
|
| yes | x |
|
|
|
|
| motorcar | x |
|
|
|
|
| motor_vehicle | x |
|
|
|
|
| vehicle | x |
|
|
|
|
| permissive | x |
|
|
|
|
| designated | x |
|
|
|
|
| no | |
|
|
|
|
| private | |
|
|
|
|
| agricultural | |
|
|
|
|
| forestry | |
|
|
|
|
| designated | |
|
|
|
|
| some_tag | x |
|
2012-02-14 11:21:07 -05:00
|
|
|
|
2012-09-30 06:01:56 -04:00
|
|
|
Scenario: Access tags for other modes should have no effect
|
2012-02-14 11:21:07 -05:00
|
|
|
Then routability should be
|
2012-09-30 06:01:56 -04:00
|
|
|
| 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 |
|
2012-02-14 11:21:07 -05:00
|
|
|
|
2012-09-30 06:01:56 -04:00
|
|
|
Scenario: Access tags on nodes
|
2012-02-18 10:46:57 -05:00
|
|
|
Then routability should be
|
2012-09-30 06:01:56 -04:00
|
|
|
| node:access | bothw |
|
|
|
|
| yes | x |
|
|
|
|
| motorcar | x |
|
|
|
|
| motor_vehicle | x |
|
|
|
|
| vehicle | x |
|
|
|
|
| permissive | x |
|
|
|
|
| designated | x |
|
|
|
|
| no | |
|
|
|
|
| private | |
|
|
|
|
| agricultural | |
|
|
|
|
| forestry | |
|
|
|
|
| designated | |
|
|
|
|
| some_tag | x |
|
2012-02-18 10:46:57 -05:00
|
|
|
|
2012-09-30 06:01:56 -04:00
|
|
|
Scenario: Access tags on both nodes and way
|
|
|
|
Then routability should be
|
|
|
|
| access | node:access | bothw |
|
|
|
|
| yes | yes | x |
|
|
|
|
| yes | no | |
|
|
|
|
| yes | some_tag | |
|
|
|
|
| no | yes | |
|
|
|
|
| no | no | |
|
|
|
|
| no | some_tag | |
|
|
|
|
| some_tag | yes | |
|
|
|
|
| some_tag | no | |
|
|
|
|
| some_tag | some_tag | |
|