reduce coordinate_extraction overhead. slowdown reduced by 30 percent

This commit is contained in:
Moritz Kobitzsch
2016-11-03 16:14:04 +01:00
parent 88208bfa5d
commit e84a0ea37c
3 changed files with 186 additions and 92 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ Feature: Simple Turns
When I route I should get
| waypoints | route | turns | intersections |
| a,p | road,road,road | depart,roundabout turn straight exit-1,arrive | true:90;true:135 false:270 false:345,true:90 false:180 true:345;true:270 |
| a,p | road,road,road | depart,roundabout turn straight exit-1,arrive | true:90;true:165 false:270 false:345,true:90 false:180 true:345;true:270 |
Scenario: Splitting Road with many lanes
Given the node map
@@ -444,7 +444,7 @@ Feature: Simple Turns
When I route I should get
| waypoints | route | turns |
| g,f | turn,road,road | depart,turn left,arrive |
| g,f | turn,road | depart,arrive |
| c,f | road,road,road | depart,continue right,arrive |
#http://www.openstreetmap.org/search?query=52.479264%2013.295617#map=19/52.47926/13.29562