2012-09-30 08:40:59 -04:00
|
|
|
@routing @bicycle @access
|
2012-10-01 07:27:08 -04:00
|
|
|
Feature: Bike - Restricted access
|
2012-10-03 16:56:41 -04:00
|
|
|
Reference: http://wiki.openstreetmap.org/wiki/Key:access
|
2012-02-14 11:21:07 -05:00
|
|
|
|
2012-09-30 06:01:56 -04:00
|
|
|
Background:
|
|
|
|
Given the speedprofile "bicycle"
|
|
|
|
|
2012-10-03 16:56:41 -04:00
|
|
|
Scenario: Bike - Access tag hierachy
|
|
|
|
Then routability should be
|
|
|
|
| access | vehicle | bicycle | bothw |
|
|
|
|
| yes | | | x |
|
|
|
|
| no | | | |
|
|
|
|
| yes | yes | | x |
|
|
|
|
| no | yes | | x |
|
|
|
|
| yes | no | | |
|
|
|
|
| no | no | | |
|
|
|
|
| yes | yes | yes | x |
|
|
|
|
| no | yes | yes | x |
|
|
|
|
| yes | no | yes | x |
|
|
|
|
| no | no | yes | x |
|
|
|
|
| yes | yes | no | |
|
|
|
|
| no | yes | no | |
|
|
|
|
| yes | no | no | |
|
|
|
|
| no | no | no | |
|
|
|
|
|
|
|
|
Scenario: Bike - 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 |
|
2012-10-03 13:04:56 -04:00
|
|
|
| | x |
|
2012-09-30 06:01:56 -04:00
|
|
|
| yes | 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-03 16:56:41 -04:00
|
|
|
Scenario: Bike - 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 |
|
|
|
|
| | x |
|
2012-09-30 06:01:56 -04:00
|
|
|
| yes | 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-03 16:56:41 -04:00
|
|
|
Scenario: Bike - Access tags on both node 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 |
|