Within_MBB Method | Geospatial Data Types | Teradata Vantage - 17.10 - Within_MBB - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Geospatial Data Types

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1181-171K
Language
English (United States)

Tests whether a 3D geometry is spatially within the bounds of a specified MBB.

Valid Data Types

All 3D ST_Geometry types.

Result Type

Returns an INTEGER value:
  • 1, if the input 3D geometry is spatially within MBB argument.
  • 0, if the input 3D geometry is not spatially within the MBB argument.

Returns an error if the input geometry is not 3D (does not have a z coordinate).