跳转至
Apache Sedona 1.9.0 已正式发布,新增 Spark 4.1 支持、proj4sedona 坐标系转换、Bing Tile 函数等众多特性!

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.0.0

SQL Example

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

Output:

true