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