Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

ST_IsSimple

Introduction: Test if geometry's only self-intersections are at boundary points.

ST_IsSimple

Format: ST_IsSimple (A: Geometry)

Return type: Boolean

Since: v1.3.0

Example:

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

Output:

true