parse access tag hierachy in bike profile

This commit is contained in:
Emil Tin
2012-10-04 08:36:14 +02:00
parent c1a08af00d
commit 8e6b7766a1
4 changed files with 32 additions and 29 deletions
+13
View File
@@ -8,18 +8,31 @@ Reference: http://wiki.openstreetmap.org/wiki/Key:access
Scenario: Bike - Access tag hierachy
Then routability should be
| access | vehicle | bicycle | bothw |
| | | | x |
| yes | | | x |
| no | | | |
| | yes | | x |
| yes | yes | | x |
| no | yes | | x |
| | no | | |
| yes | no | | |
| no | no | | |
| | | yes | x |
| yes | | yes | x |
| no | | yes | x |
| | yes | yes | x |
| yes | yes | yes | x |
| no | yes | yes | x |
| | no | yes | x |
| yes | no | yes | x |
| no | no | yes | x |
| | | no | |
| yes | | no | |
| no | | no | |
| | yes | no | |
| yes | yes | no | |
| no | yes | no | |
| | no | no | |
| yes | no | no | |
| no | no | no | |
-10
View File
@@ -24,25 +24,15 @@ Feature: Barriers
| node/barrier | node/access | bothw |
| bollard | | x |
| bollard | yes | x |
| bollard | bicycle | x |
| bollard | vehicle | x |
| bollard | motorcar | x |
| bollard | motor_vehicle | x |
| bollard | permissive | x |
| bollard | designated | x |
| bollard | no | |
| bollard | foot | |
| bollard | private | |
| bollard | agricultural | |
| wall | | |
| wall | yes | x |
| wall | bicycle | x |
| wall | vehicle | x |
| wall | motorcar | x |
| wall | motor_vehicle | x |
| wall | permissive | x |
| wall | designated | x |
| wall | no | |
| wall | foot | |
| wall | private | |
| wall | agricultural | |
-10
View File
@@ -24,25 +24,15 @@ Feature: Car - Barriers
| node/barrier | node/access | bothw |
| gate | | x |
| gate | yes | x |
| gate | vehicle | x |
| gate | motorcar | x |
| gate | motor_vehicle | x |
| gate | permissive | x |
| gate | designated | x |
| gate | no | |
| gate | foot | |
| gate | bicycle | |
| gate | private | |
| gate | agricultural | |
| wall | | |
| wall | yes | x |
| wall | vehicle | x |
| wall | motorcar | x |
| wall | motor_vehicle | x |
| wall | permissive | x |
| wall | designated | x |
| wall | no | |
| wall | foot | |
| wall | bicycle | |
| wall | private | |
| wall | agricultural | |