15.10 - ST_IsValid - 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 well formed.

Returns an INTEGER value:

  • 1, if the geometry is valid
  • 0, if the geometry is not valid
  • 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 skey
       FROM sample_shapes
       WHERE shape.ST_IsValid() = 0
       ORDER BY skey;