Package org.h2gis.functions.spatial.crs
Class ST_SetSRID
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.functions.spatial.crs.ST_SetSRID
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_SetSRID extends org.h2gis.api.AbstractFunction implements org.h2gis.api.ScalarFunctionReturn a new geometry with a replaced spatial reference id.- Author:
- Nicolas Fortin
-
-
Constructor Summary
Constructors Constructor Description ST_SetSRID()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometrysetSRID(org.locationtech.jts.geom.Geometry geometry, Integer srid)Set a new SRID to the geometry-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
- Specified by:
getJavaStaticMethodin interfaceorg.h2gis.api.ScalarFunction
-
setSRID
public static org.locationtech.jts.geom.Geometry setSRID(org.locationtech.jts.geom.Geometry geometry, Integer srid) throws IllegalArgumentExceptionSet a new SRID to the geometry- Parameters:
geometry-srid-- Returns:
- Throws:
IllegalArgumentException
-
-