package 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 com.here.platform.location.integration.optimizedmap.mapmatching.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 PathMatchers.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 can compute
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:
- EmissionProbabilityStrategies for predefined EmissionProbabilityStrategies
- TransitionProbabilityStrategies for predefined TransitionProbabilityStrategies
See also:
com.here.platform.location.integration.optimizedmap.mapmatching.PathMatchers
for more predefined PathMatchers- CandidateGenerators for predefined CandidateGenerators
- MatchedPath for more information about the return type of a PathMatcher
- Alphabetic
- By Inheritance
- mapmatching
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class CarPathMatcherLayers extends AnyRef
-
class
MatchedPathToSegmentAnchorConverter extends AnyRef
Converts MatchedPaths to HERE Map Content
SegmentAnchors
.This is an experimental API. It may be removed or changed from one version to the next.
Converts MatchedPaths to HERE Map Content
SegmentAnchors
.- Annotations
- @Experimental()
-
class
PathMatchers extends AnyRef
Creates a PathMatchers from an Optimized Map for Location Library.
- class UnrestrictedPathMatcherLayers extends AnyRef
Value Members
- object CarPathMatcherLayers
-
object
EmissionProbabilityStrategies extends EmissionProbabilityStrategiesMixin
Contains factories for com.here.platform.location.core.mapmatching.EmissionProbabilityStrategys.
- object PathMatchers extends PathMatchersMixin
-
object
TransitionProbabilityStrategies extends TransitionProbabilityStrategiesMixin
Contains factory methods for TransitionProbabilityStrategys.
Contains factory methods for TransitionProbabilityStrategys.
These methods may extract some layers from a provided Optimized Map for Location Library Catalog:
- "routinggraph" layer, to create a routing graph using
com.here.platform.location.integration.optimizedmap.graph.Graphs$#from(Catalog, CacheManager)
- "geometry" layer, to get the fraction associated to a point on a given Vertex
- "length" layer, to get the length of a given Vertex
See also OptimizedMapLayers.
- "routinggraph" layer, to create a routing graph using
- object UnrestrictedPathMatcherLayers