fix overlapping roads
This commit is contained in:
parent
a7559077a0
commit
039989a339
@ -127,37 +127,19 @@ Feature: Staggered Intersections
|
|||||||
j
|
j
|
||||||
a b c
|
a b c
|
||||||
e f g
|
e f g
|
||||||
|
d
|
||||||
k l m
|
k l m
|
||||||
i
|
i
|
||||||
"""
|
"""
|
||||||
|
|
||||||
And the ways
|
And the ways
|
||||||
| nodes | highway | name |
|
| nodes | highway | name |
|
||||||
| abc | primary | Oak St |
|
| abc | primary | Oak St |
|
||||||
| efg | residential | Elm St |
|
| efg | residential | Elm St |
|
||||||
| klm | residential | Oak St |
|
| klm | residential | Oak St |
|
||||||
| jceki | residential | Cedar Dr |
|
| jcedki | residential | Cedar Dr |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| waypoints | route | turns |
|
| waypoints | route | turns |
|
||||||
| a,m | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive |
|
| a,m | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive |
|
||||||
| m,a | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive |
|
| m,a | Oak St,Cedar Dr,Oak St,Oak St | depart,turn right,turn left,arrive |
|
||||||
|
|
||||||
Scenario: Staggered Intersection:
|
|
||||||
Given the node map
|
|
||||||
"""
|
|
||||||
j h i
|
|
||||||
a b c
|
|
||||||
e f g
|
|
||||||
"""
|
|
||||||
|
|
||||||
And the ways
|
|
||||||
| nodes | highway | name |
|
|
||||||
| abc | primary | Oak St |
|
|
||||||
| efg | residential | Oak St |
|
|
||||||
| jce | residential | Cedar Dr |
|
|
||||||
| jhi | residential | Maple Dr |
|
|
||||||
|
|
||||||
When I route I should get
|
|
||||||
| waypoints | route | turns |
|
|
||||||
| a,e | Oak St,Cedar Dr,Cedar Dr | depart,turn right,arrive |
|
|
||||||
|
Loading…
Reference in New Issue
Block a user