17.05 - Example: ST_Intersection - 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
SELECT skey, new ST_Geometry(
 'LINESTRING (2 2,3 2,4 1)').ST_Intersection(streetShape)
FROM sample_streets
WHERE new ST_Geometry(
 'MultiPoint((2 2),(3 2))').ST_Intersects(streetShape) = 1;