ST_Z Method | Geospatial Data Types | Teradata Vantage - ST_Z - Analytics Database - Teradata Vantage

Geospatial Data Types

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-08-30
dita:mapPath
qgk1628112272483.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ghz1472251264557
lifecycle
latest
Product Category
Teradata Vantage™

Get and set the z coordinate of an ST_Point value.

Valid Data Types

ST_Point

Result Type

IF you pass in … THEN ST_Z returns …
no argument a FLOAT value for the z coordinate.
the zcoord argument an ST_Geometry value where the z coordinate is set to zcoord.
NULL NULL

If the input geometry is a non-point, the system returns an error.

If the input geometry is a 2D point, and no zcoord argument is passed, the system returns an error.