com.teradata.fnc.ST_Geometry Class | Teradata Vantage - 17.10 - com.teradata.fnc.ST_Geometry - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

ST_Geometry data types can be optionally mapped to the com.teradata.fnc.ST_Geometry Java class.

Geospatial data can be retrieved in either the Well-Known Text (WKT) or Well-Known Binary (WKB) format as a CLOB (for WKT) or a BLOB (for WKB) from an input ST_Geometry value, and either format can be written to a return ST_Geometry via the same respective CLOB and BLOB types.

The SRID also can be retrieved from input geometries and set in result geometries.

The following sections describe the methods implemented by this class.