Class ST_SRID
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.properties.ST_SRID
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_SRID extends org.h2gis.api.DeterministicScalarFunctionRetrieve the SRID from an EWKB encoded geometry.- Author:
- Nicolas Fortin
-
-
Constructor Summary
Constructors Constructor Description ST_SRID()Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static IntegergetSRID(org.locationtech.jts.geom.Geometry geometry)-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
getSRID
public static Integer getSRID(org.locationtech.jts.geom.Geometry geometry) throws IOException
- Parameters:
geometry- Geometry instance or null- Returns:
- SRID value or 0 if input geometry does not have one.
- Throws:
IOException
-
-