Add simplification reset that was accidentally removed

This commit is contained in:
Patrick Niklaus 2015-09-10 16:47:46 +02:00
parent de29574314
commit fe0fe1873a

View File

@ -211,9 +211,14 @@ template <class DataFacadeT> class MapMatchingPlugin : public BasePlugin
raw_route.is_via_leg(i));
}
// we run this to get the instructions
factory.Run(route_parameters.zoom_level);
// we need because we don't run path simplification
for (auto &segment : factory.path_description)
{
segment.necessary = true;
}
if (route_parameters.geometry)
{
subtrace.values["geometry"] = factory.AppendGeometryString(route_parameters.compression);