public class SHPRead
extends org.h2gis.api.AbstractFunction
implements org.h2gis.api.ScalarFunction
| Constructor and Description |
|---|
SHPRead() |
| Modifier and Type | Method and Description |
|---|---|
String |
getJavaStaticMethod() |
static void |
readShape(Connection connection,
String fileName)
Copy data from Shape File into a new table in specified connection.
|
static void |
readShape(Connection connection,
String fileName,
String tableReference)
Copy data from Shape File into a new table in specified connection.
|
static void |
readShape(Connection connection,
String fileName,
String tableReference,
String forceEncoding)
Copy data from Shape File into a new table in specified connection.
|
addProperty, getProperty, removePropertypublic String getJavaStaticMethod()
getJavaStaticMethod in interface org.h2gis.api.ScalarFunctionpublic static void readShape(Connection connection, String fileName, String tableReference, String forceEncoding) throws IOException, SQLException
connection - Active connectiontableReference - [[catalog.]schema.]table referencefileName - File path of the SHP file or URIforceEncoding - Use this encoding instead of DBF file header encoding property.IOExceptionSQLExceptionpublic static void readShape(Connection connection, String fileName, String tableReference) throws IOException, SQLException
connection - Active connectiontableReference - [[catalog.]schema.]table referencefileName - File path of the SHP file or URIIOExceptionSQLExceptionpublic static void readShape(Connection connection, String fileName) throws IOException, SQLException
connection - Active connectionfileName - File path of the SHP file or URIIOExceptionSQLExceptionCopyright © 2019 CNRS. All rights reserved.