Return Type - Advanced SQL Engine - Teradata Database

Geospatial Data Types

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
vci1556127188517.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1181
lifecycle
previous
Product Category
Teradata Vantage™

The type that the ST_Geometry return type represents is one from the possible set of types in the following table, depending on the parameter types.

(b — a)

Ø ST_Point ST_LineString, GeoSequence ST_Polygon ST_MultiPoint ST_MultiLineString ST_MultiPolygon
Ø Ø R01 R02 R03 R04 R05 R06
ST_Point R01 R10 R15 R22 R10 R17 R19
ST_LineString, GeoSequence R02 R15 R08 R21 R15 R08 R18
ST_Polygon R03 R22 R21 R14 R22 R21 R14
ST_MultiPoint R04 R10 R15 R22 R10 R17 R19
ST_MultiLineString R05 R17 R08 R21 R17 R08 R18
ST_MultiPolygon R06 R19 R18 R14 R19 R18 R14
Where:
  • R01 = ST_Point
  • R02 = ST_LineString
  • R03 = ST_Polygon
  • R04 = ST_MultiPoint
  • R05 = ST_MultiLineString
  • R06 = ST_MultiPolygon
  • R08 = ∅, ST_LineString, ST_MultiLineString
  • R10 = ∅, ST_MultiPoint
  • R14 = ∅, ST_Polygon, ST_MultiPolygon
  • R15 = ST_LineString, ST_GeomCollection of ST_Point and ST_LineString values
  • R17 = ST_MultiLineString, ST_GeomCollection of ST_Point and ST_LineString values
  • R18 = ST_MultiPolygon, ST_GeomCollection of ST_LineString and ST_Polygon values
  • R19 = ST_MultiPolygon, ST_GeomCollection of ST_Point and ST_Polygon values
  • R21 = ST_Polygon, ST_GeomCollection of ST_LineString and ST_Polygon values
  • R22 = ST_Polygon, ST_GeomCollection of ST_Point and ST_Polygon values

Teradata Database converts GeoSequence types that are involved in the ST_SymDifference method to ST_LineString values. Therefore, ST_SymDifference never returns a GeoSequence type.