Skip to main content
Test if geometry’s only self-intersections are at boundary points. ST_IsSimple

Signatures

ST_IsSimple (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

Returns true or false.

Example

SELECT ST_IsSimple(ST_GeomFromWKT('POLYGON((1 1, 3 1, 3 3, 1 3, 1 1))'))
true