Skip to main content
Returns list of Points which geometry consists of. ST_DumpPoints

Signatures

ST_DumpPoints(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example

SELECT ST_DumpPoints(ST_GeomFromText('LINESTRING (0 0, 1 1, 1 0)'))
[POINT (0 0), POINT (0 1), POINT (1 1), POINT (1 0), POINT (0 0)]