Package com.here.platform.location.integration.optimizedmap.mapmatching


package com.here.platform.location.integration.optimizedmap.mapmatching
Provides predefined map matchers and components to build these map matchers that use the map data of the Optimized Map for Location Library.

You can use PathMatchers to create some predefined HMMPathMatchers.

For example, if you are interested in a path traveled by a car, you can use PathMatchers.carPathMatcher. For each input probe point, the carPathMatcher returns a MatchResult. If the matching is successful, the returned MatchResult is OnRoad. An OnRoad MatchResult contains the matched Vertex and the closest point to the probe point on this Vertex.

If the input probes are sparse (typically, less than one probe per second), you should consider using a `PathMatchers.carPathMatcherWithTransitions`. This HMMPathMatcher computes MatchedPath.Transitions that contain the Vertices between two consecutive OnRoad MatchResults.

You can use PathMatchers.newHMMPathMatcher to define your own HMMPathMatcher. To help you with this task, this package provides the following components:

See also: