osrm-backend/features/bicycle/access_node.feature

69 lines
4.2 KiB
Gherkin
Raw Normal View History

@routing @bicycle @access
Feature: Bike - Access tags on nodes
# Reference: http://wiki.openstreetmap.org/wiki/Key:access
2013-08-29 13:29:13 -04:00
Background:
Given the profile "bicycle"
2016-04-04 05:09:13 -04:00
Scenario: Bike - Access tag hierarchy on nodes
2013-08-29 13:29:13 -04:00
Then routability should be
2015-05-30 13:30:33 -04:00
| node/access | node/vehicle | node/bicycle | node/highway | bothw |
| | | | | x |
| yes | | | | x |
| no | | | | |
| | yes | | | x |
| | no | | | |
| no | yes | | | x |
| yes | no | | | |
| | | yes | | x |
| | | no | | |
| | | no | crossing | x |
| no | | yes | | x |
| yes | | no | | |
| | no | yes | | x |
| | yes | no | | |
2013-09-09 12:11:22 -04:00
Scenario: Bike - Overwriting implied acccess on nodes doesn't overwrite way
2013-08-29 13:29:13 -04:00
Then routability should be
| highway | node/access | node/vehicle | node/bicycle | bothw |
| cycleway | | | | x |
| runway | | | | |
| cycleway | no | | | |
| cycleway | | no | | |
| cycleway | | | no | |
| runway | yes | | | |
| runway | | yes | | |
| runway | | | yes | |
2013-08-29 13:29:13 -04:00
Scenario: Bike - Access tags on nodes
Then routability should be
| node/access | node/vehicle | node/bicycle | bothw |
| | | | x |
| yes | | | x |
| permissive | | | x |
| designated | | | x |
| some_tag | | | x |
| no | | | |
| private | | | |
| agricultural | | | |
| forestry | | | |
| delivery | | | |
2013-08-29 13:29:13 -04:00
| | yes | | x |
| | permissive | | x |
| | designated | | x |
| | some_tag | | x |
| | no | | |
| | private | | |
| | agricultural | | |
| | forestry | | |
| | delivery | | |
2013-08-29 13:29:13 -04:00
| | | yes | x |
| | | permissive | x |
| | | designated | x |
| | | some_tag | x |
| | | no | |
| | | private | |
| | | agricultural | |
| | | forestry | |
| | | delivery | |