2012-09-30 08:40:59 -04:00
|
|
|
@routing @bicycle @names
|
2012-10-01 07:27:08 -04:00
|
|
|
Feature: Bike - Street names in instructions
|
2012-09-30 08:40:59 -04:00
|
|
|
|
2013-08-29 13:29:13 -04:00
|
|
|
Background:
|
|
|
|
Given the profile "bicycle"
|
|
|
|
|
|
|
|
Scenario: Bike - A named street
|
|
|
|
Given the node map
|
|
|
|
| a | b |
|
|
|
|
| | c |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | name |
|
|
|
|
| ab | My Way |
|
|
|
|
| bc | Your Way |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-03-31 19:25:08 -04:00
|
|
|
| from | to | route |
|
|
|
|
| a | c | My Way,Your Way,Your Way |
|
2013-08-29 13:29:13 -04:00
|
|
|
|
|
|
|
@unnamed
|
|
|
|
Scenario: Bike - Use way type to describe unnamed ways
|
|
|
|
Given the node map
|
|
|
|
| a | b | c | d |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | highway | name |
|
|
|
|
| ab | cycleway | |
|
|
|
|
| bcd | track | |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-03-31 19:25:08 -04:00
|
|
|
| from | to | route |
|
|
|
|
| a | d | {highway:cycleway},{highway:track},{highway:track} |
|