org.h2gis.drivers.osm
Class OSMRead
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.drivers.osm.OSMRead
- All Implemented Interfaces:
- Function, ScalarFunction
public class OSMRead
- extends AbstractFunction
- implements ScalarFunction
SQL Function to copy OSM File data into a set of tables.
- Author:
- Erwan Bocher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSMRead
public OSMRead()
getJavaStaticMethod
public String getJavaStaticMethod()
- Specified by:
getJavaStaticMethod in interface ScalarFunction
readOSM
public static void readOSM(Connection connection,
String fileName,
String tableReference)
throws FileNotFoundException,
SQLException
- Parameters:
connection - fileName - tableReference -
- Throws:
FileNotFoundException
SQLException
readOSM
public static void readOSM(Connection connection,
String fileName)
throws FileNotFoundException,
SQLException
- Parameters:
connection - fileName -
- Throws:
FileNotFoundException
SQLException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.