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
|
|
|
|
|
|
|
Background:
|
2012-12-16 07:36:47 -05:00
|
|
|
Given the profile "bicycle"
|
2012-02-21 05:51:42 -05:00
|
|
|
|
2012-10-01 07:27:08 -04:00
|
|
|
Scenario: Bike - A named street
|
2012-03-08 02:37:41 -05:00
|
|
|
Given the node map
|
2012-02-21 05:51:42 -05:00
|
|
|
| a | b |
|
|
|
|
| | c |
|
|
|
|
|
|
|
|
And the ways
|
2013-04-08 05:19:17 -04:00
|
|
|
| nodes | name |
|
|
|
|
| ab | My Way |
|
2012-02-21 05:51:42 -05:00
|
|
|
| bc | Your Way |
|
|
|
|
|
|
|
|
When I route I should get
|
|
|
|
| from | to | route |
|
|
|
|
| a | c | My Way,Your Way |
|
|
|
|
|
2012-10-01 07:27:08 -04:00
|
|
|
Scenario: Bike - Use way type to describe unnamed ways
|
2012-03-08 02:37:41 -05:00
|
|
|
Given the node map
|
2012-12-10 07:08:26 -05:00
|
|
|
| a | b | c | d |
|
2012-02-21 05:51:42 -05:00
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | highway | name |
|
|
|
|
| ab | cycleway | |
|
2013-04-08 05:19:17 -04:00
|
|
|
| bcd | track | |
|
2012-02-21 05:51:42 -05:00
|
|
|
|
|
|
|
When I route I should get
|
2012-09-27 02:46:36 -04:00
|
|
|
| from | to | route |
|
2013-04-08 05:19:17 -04:00
|
|
|
| a | d | cycleway,track |
|
|
|
|
|
|
|
|
@area @names @todo
|
|
|
|
Scenario: Bike - name on streets overlapping an area
|
|
|
|
Given the node map
|
|
|
|
| x | a | b | y |
|
|
|
|
| | d | c | |
|
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | highway | area |
|
|
|
|
| xaby | residential | |
|
|
|
|
| abcda | residential | yes |
|
|
|
|
|
|
|
|
When I route I should get
|
|
|
|
| from | to | route |
|
|
|
|
| x | y | xaby |
|
|
|
|
| y | x | xaby |
|