public class SHPWrite
extends org.h2gis.api.AbstractFunction
implements org.h2gis.api.ScalarFunction
| Constructor and Description |
|---|
SHPWrite() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportTable(Connection connection,
String fileName,
String tableReference)
Read a table and write it into a shape file.
|
static void |
exportTable(Connection connection,
String fileName,
String tableReference,
String encoding)
Read a table and write it into a shape file.
|
String |
getJavaStaticMethod() |
addProperty, getProperty, removePropertypublic String getJavaStaticMethod()
getJavaStaticMethod in interface org.h2gis.api.ScalarFunctionpublic static void exportTable(Connection connection, String fileName, String tableReference) throws IOException, SQLException
connection - Active connectionfileName - Shape file name or URItableReference - Table nameIOExceptionSQLExceptionpublic static void exportTable(Connection connection, String fileName, String tableReference, String encoding) throws IOException, SQLException
connection - Active connectionfileName - Shape file name or URItableReference - Table name or select query
Note : The select query must be enclosed in parenthesisencoding - File encodingIOExceptionSQLExceptionCopyright © 2019 CNRS. All rights reserved.