public class MapMatching extends Object
See http://en.wikipedia.org/wiki/Map_matching and Newson, Paul, and John Krumm. "Hidden Markov map matching through noise and sparseness." Proceedings of the 17th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems. ACM, 2009.
| Constructor and Description |
|---|
MapMatching(com.graphhopper.GraphHopper hopper,
com.graphhopper.routing.AlgorithmOptions algoOptions) |
| Modifier and Type | Method and Description |
|---|---|
com.graphhopper.routing.Path |
calcPath(MatchResult mr) |
MatchResult |
doWork(List<com.graphhopper.util.GPXEntry> gpxList)
This method does the actual map matching.
|
void |
setDistanceCalc(com.graphhopper.util.DistanceCalc distanceCalc) |
void |
setMeasurementErrorSigma(double measurementErrorSigma)
Standard deviation of the normal distribution [m] used for modeling the
GPS error.
|
void |
setTransitionProbabilityBeta(double transitionProbabilityBeta)
Beta parameter of the exponential distribution for modeling transition
probabilities.
|
public MapMatching(com.graphhopper.GraphHopper hopper,
com.graphhopper.routing.AlgorithmOptions algoOptions)
public void setDistanceCalc(com.graphhopper.util.DistanceCalc distanceCalc)
public void setTransitionProbabilityBeta(double transitionProbabilityBeta)
public void setMeasurementErrorSigma(double measurementErrorSigma)
public MatchResult doWork(List<com.graphhopper.util.GPXEntry> gpxList)
gpxList - the input list with GPX points which should match to edges
of the graph specified in the constructorpublic com.graphhopper.routing.Path calcPath(MatchResult mr)
Copyright © 2012–2018. All rights reserved.