org.h2gis.drivers.gpx.model
Class GPXCoordinate

java.lang.Object
  extended by org.h2gis.drivers.gpx.model.GPXCoordinate

public class GPXCoordinate
extends Object

This class is used to convert a waypoint to a coordinate

Author:
Erwan Bocher

Constructor Summary
GPXCoordinate()
           
 
Method Summary
static com.vividsolutions.jts.geom.Coordinate createCoordinate(Attributes attributes)
          General method to create a coordinate from a gpx point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPXCoordinate

public GPXCoordinate()
Method Detail

createCoordinate

public static com.vividsolutions.jts.geom.Coordinate createCoordinate(Attributes attributes)
                                                               throws NumberFormatException
General method to create a coordinate from a gpx point.

Parameters:
attributes - Attributes of the point. Here it is latitude and longitude
Returns:
a coordinate
Throws:
NumberFormatException


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.