Change order of guidance post-processing, fix #4030

This commit is contained in:
Michael Krasnyk
2017-05-22 18:46:02 +02:00
parent a63b43c259
commit 47f2f17987
2 changed files with 26 additions and 2 deletions
+2 -2
View File
@@ -168,8 +168,8 @@ class RouteAPI : public BaseAPI
*/
guidance::trimShortSegments(steps, leg_geometry);
leg.steps = guidance::collapseTurnInstructions(std::move(steps));
leg.steps = guidance::postProcess(std::move(leg.steps));
leg.steps = guidance::postProcess(std::move(steps));
leg.steps = guidance::collapseTurnInstructions(std::move(leg.steps));
leg.steps = guidance::buildIntersections(std::move(leg.steps));
leg.steps = guidance::suppressShortNameSegments(std::move(leg.steps));
leg.steps = guidance::assignRelativeLocations(std::move(leg.steps),