org.h2gis.drivers.geojson
Class GeoJsonWrite
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.drivers.geojson.GeoJsonWrite
- All Implemented Interfaces:
- Function, ScalarFunction
public class GeoJsonWrite
- extends AbstractFunction
- implements ScalarFunction
SQL function to write a spatial table to a GeoJSON file.
- Author:
- Erwan Bocher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoJsonWrite
public GeoJsonWrite()
getJavaStaticMethod
public String getJavaStaticMethod()
- Specified by:
getJavaStaticMethod in interface ScalarFunction
writeGeoJson
public static void writeGeoJson(Connection connection,
String fileName,
String tableReference)
throws IOException,
SQLException
- Write the GeoJSON file.
- Parameters:
connection - fileName - tableReference -
- Throws:
IOException
SQLException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.