ST_Within Method | Geospatial Data Types | Teradata Vantage - ST_Within Method - 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
Language
English (United States)
Last Update
2023-08-30
dita:mapPath
qgk1628112272483.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ghz1472251264557
lifecycle
latest
Product Category
Teradata Vantageā„¢

Tests if an ST_Geometry value is spatially within another ST_Geometry value.

Valid Data Types

All ST_Geometry types except geometry collections.

This method can be called on 3D geometries (those that include z coordinates). However, the z coordinate is ignored in method calculations.

Result Type

Returns an INTEGER value:
  • 1, if the geometry is within ageometry
  • 0, if the geometry is not within ageometry