improve segregated road detection

This commit is contained in:
Moritz Kobitzsch
2016-08-15 16:55:03 +02:00
parent 9648821a79
commit d06eec5e42
8 changed files with 86 additions and 75 deletions
-20
View File
@@ -124,23 +124,3 @@ Feature: Simple Turns
| a,f | depart,continue left,continue right,arrive | place,place,place,place |
| d,f | depart,turn right,continue right,arrive | bottom,place,place,place |
| d,h | depart,turn right,continue left,turn right,arrive | bottom,place,place,top,top |
Scenario: Don't Collapse Places:
Given the node map
| | | | | | | h | | | | | | |
| | | | | | | g | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | b | | | | | | | | | | e | f |
And the ways
| nodes | name | oneway |
| fe | place | yes |
| gh | top | yes |
| egb | place | yes |
When I route I should get
| waypoints | turns | route |
| f,h | depart,turn right,arrive | place,top,top |