Class GPXParser
java.lang.Object
net.wirelabs.jmaps.example.components.GPXParser
Created 8/3/22 by MichaĆ Szwaczko (mikey@wirelabs.net)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseGpxFile(File file) Parses gpx file (note: all tracks and all segments are merged into one set of waypoints)List<net.wirelabs.jmaps.map.geo.Coordinate>parseToGeoPosition(File file) Parses gpx file in GeoPosition format
-
Constructor Details
-
GPXParser
public GPXParser()
-
-
Method Details
-
parseToGeoPosition
Parses gpx file in GeoPosition format- Parameters:
file- input file- Returns:
- list of waypoints in GeoPosition format
-
parseGpxFile
Parses gpx file (note: all tracks and all segments are merged into one set of waypoints)- Parameters:
file- input file- Returns:
- list of waypoints in GPX own Wpt format
-