Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_DumpPoints

Introduction: Returns a MultiPoint geometry which consists of individual points that compose the input line string.

Format: ST_DumpPoints(geom: geometry)

SQL example:

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

Output: MultiPoint ((0 0), (0 1), (1 1), (1 0), (0 0))