16.20 - Example: ST_Intersection - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ Geospatial Data Types

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1181-162K
Language
English (United States)
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;