Class MatchResult

java.lang.Object
com.graphhopper.matching.MatchResult

public class MatchResult extends Object
Author:
Peter Karich
  • Constructor Details

  • Method Details

    • setEdgeMatches

      public void setEdgeMatches(List<EdgeMatch> edgeMatches)
    • setGPXEntriesLength

      public void setGPXEntriesLength(double gpxEntriesLength)
    • setGPXEntriesMillis

      public void setGPXEntriesMillis(long gpxEntriesMillis)
    • setMatchLength

      public void setMatchLength(double matchLength)
    • setMatchMillis

      public void setMatchMillis(long matchMillis)
    • setMergedPath

      public void setMergedPath(Path mergedPath)
    • getEdgeMatches

      public List<EdgeMatch> getEdgeMatches()
      All possible assigned edges.
    • getGpxEntriesLength

      public double getGpxEntriesLength()
      Length of the original GPX track in meters
    • getMatchLength

      public double getMatchLength()
      Length of the map-matched route in meters
    • getMatchMillis

      public long getMatchMillis()
      Duration of the map-matched route in milliseconds
    • getMergedPath

      public Path getMergedPath()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getWeighting

      public Weighting getWeighting()
    • setWeighting

      public void setWeighting(Weighting weighting)
    • getGraph

      public Graph getGraph()
    • setGraph

      public void setGraph(Graph graph)