2016-10-11 04:32:55 -04:00
|
|
|
@routing @bicycle @mode
|
|
|
|
Feature: Bike - Mode flag
|
|
|
|
|
2016-11-08 06:55:32 -05:00
|
|
|
Background:
|
|
|
|
Given the profile "bicycle"
|
2016-10-11 04:32:55 -04:00
|
|
|
Given a grid size of 5 meters
|
|
|
|
|
|
|
|
Scenario: Bike Sliproad
|
|
|
|
Given the node map
|
|
|
|
"""
|
|
|
|
i
|
|
|
|
a b - c-d
|
|
|
|
` |
|
|
|
|
g-e-h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
f
|
|
|
|
"""
|
|
|
|
|
|
|
|
And the nodes
|
|
|
|
| node | highway |
|
|
|
|
| c | traffic_signals |
|
|
|
|
|
|
|
|
And the ways
|
2018-03-19 11:02:25 -04:00
|
|
|
| nodes | highway | name | oneway:bicycle | maxspeed:forward |
|
|
|
|
| abcd | cycleway | street | | 4 km/h |
|
|
|
|
| eb | path | | yes | |
|
|
|
|
| icef | tertiary | road | | 4 km/h |
|
|
|
|
| geh | secondary | street | | |
|
2016-10-11 04:32:55 -04:00
|
|
|
|
|
|
|
When I route I should get
|
2016-11-08 06:55:32 -05:00
|
|
|
| waypoints | route | turns |
|
|
|
|
| a,f | street,,road,road | depart,turn right,turn right,arrive |
|