fix coordinate extraction with less than 1 meters past lane distance

This commit is contained in:
Moritz Kobitzsch
2016-10-25 16:38:45 +02:00
committed by Daniel J. Hofmann
parent 7753845f5c
commit e8b947bca6
2 changed files with 27 additions and 3 deletions
+19
View File
@@ -1149,3 +1149,22 @@ Feature: Simple Turns
When I route I should get
| waypoints | route | turns |
| a,m | gato,hain,hain | depart,turn left,arrive |
Scenario: Segfaulting Regression
Given the node map
"""
a - - - - - - - - - - - - - - b c
|
|
|
d--------------e
"""
And the ways
| nodes | lanes:forward |
| ab | |
| bcde | 6 |
When I route I should get
| waypoints | route |
| a,e | ab,bcde,bcde |