don't get disturbed by service roads in obvious discovery

This commit is contained in:
Moritz Kobitzsch
2016-10-13 14:43:14 +02:00
parent 77931ffe24
commit 17eb664597
2 changed files with 70 additions and 5 deletions
+37
View File
@@ -1252,3 +1252,40 @@ Feature: Simple Turns
| waypoints | turns | route |
| a,f | depart,turn slight left,arrive | road,, |
| a,c | depart,arrive | road,road |
Scenario: Non-Obvious Turn Next to service road
Given the node map
"""
c
.
.
.
.
.
.
.
.
.
.
a - - - - - - - b - - - d
|
|
|
|
|
|
|
e
"""
And the ways
| nodes | highway | name |
| ab | primary | in |
| bc | primary | through |
| be | primary | through |
| bd | service | |
When I route I should get
| waypoints | route | turns |
| a,c | in,through,through | depart,turn left,arrive |