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:
committed by
Patrick Niklaus
parent
441eae9df2
commit
bd9eb76a2d
@@ -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() &&
|
||||
|
||||
Reference in New Issue
Block a user