Transparently Tidy Traces in Map Matching, resolves #2840.

The Map Matching plugin currently has issues with:
- high frequency traces and (performance)
- blobs, think noise at traffic signals (correctness)

This changeset implements trace-tidying transparently for the user.

We hopefully will see both performance gains as well as better matches!
This commit is contained in:
Daniel J. Hofmann
2016-10-21 16:33:50 -07:00
committed by Patrick Niklaus
parent 441eae9df2
commit bd9eb76a2d
4 changed files with 311 additions and 5 deletions
+3 -2
View File
@@ -56,7 +56,7 @@ struct MatchParameters : public RouteParameters
false,
RouteParameters::GeometriesType::Polyline,
RouteParameters::OverviewType::Simplified,
{})
{}), use_tidying(true)
{
}
@@ -67,7 +67,8 @@ struct MatchParameters : public RouteParameters
}
std::vector<unsigned> timestamps;
bool use_tidying = true;
bool use_tidying;
bool IsValid() const
{
return RouteParameters::IsValid() &&