correctly handle roundabouts in a wide set of special cases

This commit is contained in:
Moritz Kobitzsch
2016-03-30 09:53:17 +02:00
committed by Patrick Niklaus
parent 09931d7ad8
commit 2219b6507c
3 changed files with 37 additions and 20 deletions
+1 -1
View File
@@ -129,8 +129,8 @@ class RouteAPI : public BaseAPI
* the overall response consistent.
*/
guidance::trimShortSegments(steps, leg_geometry);
leg.steps = guidance::postProcess(std::move(steps));
guidance::trimShortSegments(leg.steps, leg_geometry);
leg.steps = guidance::assignRelativeLocations(std::move(leg.steps), leg_geometry,
phantoms.source_phantom,
phantoms.target_phantom);