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
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b
|
|
|
|
c
|
|
|
|
"""
|
2013-08-29 13:29:13 -04:00
|
|
|
|
|
|
|
And the ways
|
2016-04-29 07:27:12 -04:00
|
|
|
| nodes | name | ref |
|
|
|
|
| ab | My Way | A6 |
|
|
|
|
| bc | Your Way | A7 |
|
2013-08-29 13:29:13 -04:00
|
|
|
|
|
|
|
When I route I should get
|
2016-09-05 09:01:51 -04:00
|
|
|
| from | to | route | ref |
|
|
|
|
| a | c | My Way,Your Way,Your Way | A6,A7,A7 |
|
2013-08-29 13:29:13 -04:00
|
|
|
|
|
|
|
@unnamed
|
2016-11-08 06:55:32 -05:00
|
|
|
Scenario: Bike - No longer use way type to describe unnamed ways, see #3231
|
2013-08-29 13:29:13 -04:00
|
|
|
Given the node map
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b c d
|
|
|
|
"""
|
2013-08-29 13:29:13 -04:00
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | highway | name |
|
|
|
|
| ab | cycleway | |
|
|
|
|
| bcd | track | |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-11-08 06:55:32 -05:00
|
|
|
| from | to | route |
|
|
|
|
| a | d | , |
|