public class GeoJsonWriteDriver extends Object
| Constructor and Description |
|---|
GeoJsonWriteDriver(Connection connection,
String tableName,
File fileName)
A simple GeoJSON driver to write a spatial table to a GeoJSON file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSupportedPropertyType(int sqlTypeId,
String sqlTypeName)
Return true is the SQL type is supported by the GeoJSON driver.
|
void |
write(org.h2gis.api.ProgressVisitor progress)
Write the spatial table to GeoJSON format.
|
public GeoJsonWriteDriver(Connection connection, String tableName, File fileName)
connection - tableName - fileName - public void write(org.h2gis.api.ProgressVisitor progress)
throws SQLException,
IOException
progress - SQLExceptionIOExceptionpublic boolean isSupportedPropertyType(int sqlTypeId,
String sqlTypeName)
throws SQLException
sqlTypeId - sqlTypeName - SQLExceptionCopyright © 2018 CNRS. All rights reserved.