Package org.teiid.query.function
Class GeometryHelper
- java.lang.Object
-
- org.teiid.query.function.GeometryHelper
-
- Direct Known Subclasses:
GeometryHelperImpl
public class GeometryHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description GeometryHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClobTypegeometryToGeoJson(GeometryType object)static GeometryHelpergetInstance()booleanisLatLong(CommandContext ctx, int srid)org.locationtech.jts.geom.Geometrytransform(CommandContext ctx, org.locationtech.jts.geom.Geometry jtsGeomSrc, int srid)
-
-
-
Method Detail
-
getInstance
public static GeometryHelper getInstance()
-
transform
public org.locationtech.jts.geom.Geometry transform(CommandContext ctx, org.locationtech.jts.geom.Geometry jtsGeomSrc, int srid) throws FunctionExecutionException
- Parameters:
ctx-jtsGeomSrc-srid-- Returns:
- Throws:
FunctionExecutionException
-
isLatLong
public boolean isLatLong(CommandContext ctx, int srid) throws FunctionExecutionException
- Parameters:
ctx-srid-- Returns:
- Throws:
FunctionExecutionException
-
geometryToGeoJson
public ClobType geometryToGeoJson(GeometryType object) throws FunctionExecutionException
- Parameters:
object-- Returns:
- Throws:
FunctionExecutionException
-
-