Change order of guidance post-processing, fix #4030

This commit is contained in:
Michael Krasnyk
2017-05-22 18:46:02 +02:00
committed by Patrick Niklaus
parent 3349964b96
commit df4d1cb9e6
2 changed files with 51 additions and 2 deletions
+2 -2
View File
@@ -167,8 +167,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),