17.10 - Example: MBR_Filter - 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)
INSERT INTO sample_shapes VALUES (1001, 'POINT(10 20)');
INSERT INTO sample_shapes VALUES (1002, CAST(
 'LINESTRING(1 1, 2 2, 3 3)' AS ST_Geometry));

SELECT shape.MBR_Filter('MultiPoint((10 20), (30 40), (50 60))')
FROM sample_shapes;