public class GPXFile extends Object
| Constructor and Description |
|---|
GPXFile() |
GPXFile(List<com.graphhopper.util.GPXEntry> entries) |
GPXFile(MatchResult mr,
com.graphhopper.util.InstructionList il) |
| Modifier and Type | Method and Description |
|---|---|
String |
createString() |
GPXFile |
doExport(String gpxFile) |
GPXFile |
doImport(InputStream is,
double defaultSpeed)
This method creates a GPXFile object filled with lat,lon values from the
xml inputstream is.
|
GPXFile |
doImport(String fileStr) |
List<com.graphhopper.util.GPXEntry> |
getEntries() |
String |
toString() |
static void |
write(com.graphhopper.routing.Path path,
String gpxFile,
com.graphhopper.util.Translation translation) |
public GPXFile()
public GPXFile(List<com.graphhopper.util.GPXEntry> entries)
public GPXFile(MatchResult mr, com.graphhopper.util.InstructionList il)
public List<com.graphhopper.util.GPXEntry> getEntries()
public GPXFile doImport(InputStream is, double defaultSpeed)
defaultSpeed - if no time element is found the time value will be
guessed from the distance and this provided default speed in kph.public String createString()
public static void write(com.graphhopper.routing.Path path,
String gpxFile,
com.graphhopper.util.Translation translation)
Copyright © 2012–2018. All rights reserved.