Support trunk access for some countries
This commit is contained in:
@@ -4,7 +4,7 @@ Feature: Bike - Accessability of different way types
|
||||
Background:
|
||||
Given the profile "bicycle"
|
||||
|
||||
Scenario: Bike - Routability of way types
|
||||
Scenario: Bike - Routability of way types trunk not supported
|
||||
# Bikes are allowed on footways etc because you can pull your bike at a lower speed.
|
||||
# Pier is not allowed, since it's tagged using man_made=pier.
|
||||
|
||||
@@ -40,3 +40,40 @@ Feature: Bike - Accessability of different way types
|
||||
| highway | man_made | bothw |
|
||||
| (nil) | (nil) | |
|
||||
| (nil) | pier | x |
|
||||
|
||||
Scenario: Bike - Routability of way types trunk supported
|
||||
# Bikes are allowed on footways etc because you can pull your bike at a lower speed.
|
||||
# Pier is not allowed, since it's tagged using man_made=pier.
|
||||
|
||||
Given the profile file "bicycle" initialized with
|
||||
"""
|
||||
profile.uselocationtags.trunk = true
|
||||
"""
|
||||
|
||||
Then routability should be
|
||||
| highway | bothw |
|
||||
| (nil) | |
|
||||
| motorway | |
|
||||
| motorway_link | |
|
||||
| trunk | x |
|
||||
| trunk_link | x |
|
||||
| primary | x |
|
||||
| primary_link | x |
|
||||
| secondary | x |
|
||||
| secondary_link | x |
|
||||
| tertiary | x |
|
||||
| tertiary_link | x |
|
||||
| residential | x |
|
||||
| service | x |
|
||||
| unclassified | x |
|
||||
| living_street | x |
|
||||
| road | x |
|
||||
| track | x |
|
||||
| path | x |
|
||||
| footway | x |
|
||||
| pedestrian | x |
|
||||
| steps | x |
|
||||
| cycleway | x |
|
||||
| bridleway | |
|
||||
| pier | |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user