Remove {highway: type} fallback from bike / walk profile, fixes #3231

References:
- https://github.com/Project-OSRM/osrm-text-instructions/issues/62#issuecomment-257889721
- https://github.com/Project-OSRM/osrm-text-instructions/pull/63
This commit is contained in:
Daniel J. Hofmann
2016-11-08 12:55:32 +01:00
parent 9c11f4231c
commit ef2261661c
7 changed files with 16 additions and 27 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ Feature: Bike - Street names in instructions
| a | c | My Way,Your Way,Your Way | A6,A7,A7 |
@unnamed
Scenario: Bike - Use way type to describe unnamed ways
Scenario: Bike - No longer use way type to describe unnamed ways, see #3231
Given the node map
"""
a b c d
@@ -33,5 +33,5 @@ Feature: Bike - Street names in instructions
| bcd | track | |
When I route I should get
| from | to | route |
| a | d | {highway:cycleway},{highway:track},{highway:track} |
| from | to | route |
| a | d | , |
+2 -2
View File
@@ -29,8 +29,8 @@ Feature: Bike - Way ref
| ab | | E7 |
When I route I should get
| from | to | route | ref |
| a | b | {highway:primary},{highway:primary} | E7,E7 |
| from | to | route | ref |
| a | b | , | E7,E7 |
Scenario: Bike - Way with only name
Given the node map