2013-09-08 16:51:44 -04:00
|
|
|
@routing @foot @names
|
|
|
|
Feature: Foot - Street names in instructions
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "foot"
|
2017-02-15 09:12:24 -05:00
|
|
|
Given a grid size of 200 meters
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
Scenario: Foot - A named street
|
|
|
|
Given the node map
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b
|
|
|
|
c
|
|
|
|
"""
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
And the ways
|
2016-04-29 07:27:12 -04:00
|
|
|
| nodes | name | ref |
|
|
|
|
| ab | My Way | A6 |
|
|
|
|
| bc | Your Way | B7 |
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
When I route I should get
|
2016-04-29 07:27:12 -04:00
|
|
|
| from | to | route |
|
2016-09-05 09:01:51 -04:00
|
|
|
| a | c | My Way,Your Way,Your Way |
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
@unnamed
|
2016-11-08 06:55:32 -05:00
|
|
|
Scenario: Foot - No longer use way type to describe unnamed ways, see #3231
|
2013-09-08 16:51:44 -04:00
|
|
|
Given the node map
|
2016-09-30 03:33:08 -04:00
|
|
|
"""
|
|
|
|
a b c d
|
|
|
|
"""
|
2013-09-08 16:51:44 -04:00
|
|
|
|
|
|
|
And the ways
|
|
|
|
| nodes | highway | name |
|
|
|
|
| ab | footway | |
|
|
|
|
| bcd | track | |
|
|
|
|
|
|
|
|
When I route I should get
|
2016-11-08 06:55:32 -05:00
|
|
|
| from | to | route |
|
|
|
|
| a | d | , |
|