17.05 - Example: MBR_Filter - Teradata Database

Teradata Vantage™ - Geospatial Data Types

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
17.05
created_date
June 2020
category
Programming Reference
featnum
B035-1181-170K
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;