Example: MBR_Filter - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantage™ Geospatial Data Types

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1181-162K
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;