public class GpxUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GPX_POINT_FEATURE |
static String |
GPX_ROUTE_FEATURE |
static String |
GPX_TRACK_FEATURE |
static String |
GPX_WAYPOINT_FEATURE |
| Constructor and Description |
|---|
GpxUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.opengis.feature.simple.SimpleFeatureType |
createGPXPointDataType() |
static org.opengis.feature.simple.SimpleFeatureType |
createGPXRouteDataType() |
static org.opengis.feature.simple.SimpleFeatureType |
createGPXTrackDataType() |
static org.opengis.feature.simple.SimpleFeatureType |
createGPXWaypointDataType() |
static Date |
parseDateMillis(String source) |
static Date |
parseDateSeconds(String source) |
static Map<Long,AvroGpxTrack> |
parseOsmMetadata(URL metadataFile) |
static boolean |
validateGpx(URL gpxDocument) |
public static final String GPX_POINT_FEATURE
public static final String GPX_ROUTE_FEATURE
public static final String GPX_TRACK_FEATURE
public static final String GPX_WAYPOINT_FEATURE
public static Date parseDateSeconds(String source) throws ParseException
ParseExceptionpublic static Date parseDateMillis(String source) throws ParseException
ParseExceptionpublic static Map<Long,AvroGpxTrack> parseOsmMetadata(URL metadataFile) throws FileNotFoundException, XMLStreamException
public static org.opengis.feature.simple.SimpleFeatureType createGPXTrackDataType()
public static org.opengis.feature.simple.SimpleFeatureType createGPXRouteDataType()
public static org.opengis.feature.simple.SimpleFeatureType createGPXPointDataType()
public static org.opengis.feature.simple.SimpleFeatureType createGPXWaypointDataType()
public static boolean validateGpx(URL gpxDocument) throws SAXException, IOException
SAXExceptionIOExceptionCopyright © 2013–2021. All rights reserved.