org.h2gis.drivers.gpx
Class GPXRead
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.drivers.gpx.GPXRead
- All Implemented Interfaces:
- Function, ScalarFunction
public class GPXRead
- extends AbstractFunction
- implements ScalarFunction
SQL Function to copy GPX File data into a Table.
- Author:
- Erwan Bocher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPXRead
public GPXRead()
getJavaStaticMethod
public String getJavaStaticMethod()
- Specified by:
getJavaStaticMethod in interface ScalarFunction
readGPX
public static void readGPX(Connection connection,
String fileName,
String tableReference)
throws IOException,
SQLException
- Copy data from GPX File into a new table in specified connection.
- Parameters:
connection - Active connectiontableReference - [[catalog.]schema.]table referencefileName - File path of the SHP file
- Throws:
IOException
SQLException
readGPX
public static void readGPX(Connection connection,
String fileName)
throws IOException,
SQLException
- Copy data from GPX File into a new table in specified connection.
- Parameters:
connection - fileName -
- Throws:
IOException
SQLException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.