跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

ST_DumpPoints

Introduction: Returns list of Points which geometry consists of.

ST_DumpPoints

Format: ST_DumpPoints(geom: Geometry)

Return type: Array<Geometry>

Since: v1.0.0

SQL Example

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

Output:

[POINT (0 0), POINT (0 1), POINT (1 1), POINT (1 0), POINT (0 0)]