org.h2gis.h2spatial.internal.function.spatial.crs
Class ST_Transform
java.lang.Object
org.h2gis.h2spatialapi.AbstractFunction
org.h2gis.h2spatial.internal.function.spatial.crs.ST_Transform
- All Implemented Interfaces:
- Function, ScalarFunction
public class ST_Transform
- extends AbstractFunction
- implements ScalarFunction
This class is used to transform a geometry from one CRS to another.
Only integer codes available in the spatial_ref_sys table are allowed.
The default source CRS is the input geometry's internal CRS.
- Author:
- Erwan Bocher, Adam Gouge
|
Method Summary |
String |
getJavaStaticMethod()
|
static com.vividsolutions.jts.geom.Geometry |
ST_Transform(Connection connection,
com.vividsolutions.jts.geom.Geometry geom,
int codeEpsg)
Returns a new geometry transformed to the SRID referenced by the integer
parameter available in the spatial_ref_sys table |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ST_Transform
public ST_Transform()
- Constructor
getJavaStaticMethod
public String getJavaStaticMethod()
- Specified by:
getJavaStaticMethod in interface ScalarFunction
ST_Transform
public static com.vividsolutions.jts.geom.Geometry ST_Transform(Connection connection,
com.vividsolutions.jts.geom.Geometry geom,
int codeEpsg)
throws SQLException
- Returns a new geometry transformed to the SRID referenced by the integer
parameter available in the spatial_ref_sys table
- Parameters:
connection - geom - codeEpsg -
- Returns:
-
- Throws:
SQLException
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.