diff --git a/plugins/match.hpp b/plugins/match.hpp index 2a9fa043f..bc4738d50 100644 --- a/plugins/match.hpp +++ b/plugins/match.hpp @@ -194,6 +194,11 @@ template class MapMatchingPlugin : public BasePlugin raw_route.target_traversed_in_reverse[i], raw_route.is_via_leg(i)); } + // we need this because we don't run DP + for (auto& segment : factory.path_description) + { + segment.necessary = true; + } subtrace.values["geometry"] = factory.AppendGeometryString(route_parameters.compression); }