dumppoints
dumppoints · C implementation of ST_DumpPoints for PostGIS geometry collections.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 100496 | dumppoints | dumppoints | 1.0 | GIS | Public Domain | C |
| Relationships | |
|---|---|
| Requires | postgis |
Usage
Sources:
dumppoints version 1.0 installs a C implementation of the PostGIS ST_DumpPoints(geometry) function. Use it to expand every vertex of a geometry into PostGIS geometry_dump rows containing a path and point geometry.
Core Workflow
PostGIS is a declared dependency and must be available first.
The path array identifies the component, ring, and vertex position using PostGIS dump conventions; the geometry field is the corresponding point.
Objects
ST_DumpPoints(geometry) returns setof geometry_dump: emit onegeometry_dumpvalue for each input vertex.
Compatibility Notes
The installation script executes CREATE OR REPLACE FUNCTION for the same signature exposed by PostGIS. Installing dumppoints therefore replaces that database function in the target extension schema rather than adding a separately named API. Test behavior against the exact PostGIS version in use, and account for extension ownership before upgrading or removing either extension. No preload is required.