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

ST_IsClosed

Introduction: RETURNS true if the LINESTRING start and end point are the same.

ST_IsClosed

Format: ST_IsClosed(geom: Geometry)

Return type: Boolean

Since: v1.3.0

Example:

SELECT ST_IsClosed(ST_GeomFromText('LINESTRING(0 0, 1 1, 1 0)'))

Output:

false