15.10 - ST_Disjoint - Teradata Database

Teradata Database SQL Geospatial Types

prodname
Teradata Database
vrm_release
15.10
category
Programming Reference
featnum
B035-1181-151K

Tests if an ST_Geometry value is spatially disjoint from another ST_Geometry value.

 

Argument …

Specifies …

ageometry

the other ST_Geometry value.

Returns an INTEGER value:

  • 1, if the geometries are spatially disjoint
  • 0, if the geometries are not spatially disjoint
  • All ST_Geometry types.

    Note: This method can be called on 3D geometries (those that include z coordinates). However, the z coordinate is ignored in method calculations.

       SELECT streetName
       FROM sample_streets
       WHERE streetShape.ST_Disjoint(
          NEW ST_Geometry('LINESTRING(2 2, 3 2, 4 1)')) = 0
       ORDER BY streetName;