Package org.h2gis.functions.io.geojson
Class ST_GeomFromGeoJSON
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.io.geojson.ST_GeomFromGeoJSON
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_GeomFromGeoJSON extends org.h2gis.api.DeterministicScalarFunction- Author:
- Erwan Bocher
-
-
Constructor Summary
Constructors Constructor Description ST_GeomFromGeoJSON()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.GeometrygeomFromGeoJSON(String geojson)Convert a geojson geometry to geometry.StringgetJavaStaticMethod()-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
geomFromGeoJSON
public static org.locationtech.jts.geom.Geometry geomFromGeoJSON(String geojson) throws IOException, SQLException
Convert a geojson geometry to geometry.- Parameters:
geojson-- Returns:
- Throws:
IOExceptionSQLException
-
-