public class RouteGpxIO
extends java.lang.Object
Route
objects to and from GPX Heavily based on RouteKmlIOConstructor and Description |
---|
RouteGpxIO() |
Modifier and Type | Method and Description |
---|---|
static GpxWaypoint |
convertPoint(GeoPoint in) |
static GpxWaypoint |
convertPoint(GeoPoint in,
double unwrap) |
static GeoPoint |
convertPoint(GpxWaypoint in) |
static Gpx |
read(java.io.File file)
Read Gpx from specified file
|
static Gpx |
toGpx(Route route)
Convert route to KML
|
static void |
write(Gpx gpx,
java.io.File file)
Write KML route to specified file
|
public static void write(Gpx gpx, java.io.File file) throws java.lang.Exception
gpx
- file
- java.lang.Exception
public static GeoPoint convertPoint(GpxWaypoint in)
public static GpxWaypoint convertPoint(GeoPoint in, double unwrap)
public static GpxWaypoint convertPoint(GeoPoint in)
public static Gpx read(java.io.File file)
file
- the gpx file to read