fix handling none-tags in presence of multiple turns within

This commit is contained in:
Moritz Kobitzsch
2017-02-10 18:30:15 +01:00
committed by Patrick Niklaus
parent d52ea86cb9
commit e4d500f451
2 changed files with 77 additions and 11 deletions
+22
View File
@@ -1178,3 +1178,25 @@ Feature: Turn Lane Guidance
When I route I should get
| waypoints | route | turns | lanes |
| a,e | road,cross,cross | depart,turn right,arrive | ,left:false none:false none:true, |
| a,c | road,road | depart,arrive | , |
@3379
Scenario: Don't Turn through potential through lanes
Given the node map
"""
d
|
a - - - - b - - - - - c
|
e
"""
And the ways
| nodes | name | oneway | turn:lanes:forward |
| ab | road | yes | none\|none\|right |
| bc | road | yes | |
| ebd | cross | no | |
When I route I should get
| waypoints | route | turns | lanes |
| a,d | road,cross,cross | depart,turn left,arrive | ,none:true none:false right:false, |
| a,c | road,road | depart,arrive | , |