ST_IsSimple
Determine whether a geometry is simple. For example, a geometry that intersects with itself is not simple.
Syntax
ST_IsSimple(geo);
- geo
- The input geometry.
Type: ST_GEOMETRY(ANY)
Returns
A value of type BOOL that is TRUE if the geometry is simple; otherwise FALSE.
Examples
SELECT inza..ST_IsSimple(inza..ST_WKTToSQL('POINT (1 1)'));
ST_ISSIMPLE
-----------
t
(1 row)