org.h2gis.drivers.geojson
Class ST_GeomFromGeoJSON

java.lang.Object
  extended by org.h2gis.h2spatialapi.AbstractFunction
      extended by org.h2gis.h2spatialapi.DeterministicScalarFunction
          extended by org.h2gis.drivers.geojson.ST_GeomFromGeoJSON
All Implemented Interfaces:
Function, ScalarFunction

public class ST_GeomFromGeoJSON
extends DeterministicScalarFunction

Author:
Erwan Bocher

Field Summary
 
Fields inherited from interface org.h2gis.h2spatialapi.ScalarFunction
PROP_DETERMINISTIC, PROP_NOBUFFER
 
Fields inherited from interface org.h2gis.h2spatialapi.Function
PROP_NAME, PROP_REMARKS
 
Constructor Summary
ST_GeomFromGeoJSON()
           
 
Method Summary
static com.vividsolutions.jts.geom.Geometry geomFromGeoJSON(String geojson)
          Convert a geojson geometry to geometry.
 String getJavaStaticMethod()
           
 
Methods inherited from class org.h2gis.h2spatialapi.AbstractFunction
addProperty, getProperty, removeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.h2gis.h2spatialapi.Function
getProperty
 

Constructor Detail

ST_GeomFromGeoJSON

public ST_GeomFromGeoJSON()
Method Detail

getJavaStaticMethod

public String getJavaStaticMethod()

geomFromGeoJSON

public static com.vividsolutions.jts.geom.Geometry geomFromGeoJSON(String geojson)
                                                            throws IOException,
                                                                   SQLException
Convert a geojson geometry to geometry.

Parameters:
geojson -
Returns:
Throws:
IOException
SQLException


Copyright © 2015 CNRS. All Rights Reserved.