st_makeline
How PostGIS runs Points to Line: st_makeline.
| Engine | PostGIS |
|---|---|
| Tool name | st_makeline |
| Interface | sql |
| Implements | Points to Line |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Has an aggregate form. |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
geom1 | geometry | no | Not stated | Not stated | Not stated |
geom2 | geometry | no | Not stated | Not stated | Not stated |
SQL overloads
-
st_makeline(geom1 geometry, geom2 geometry) → geometry -
st_makeline(geometry) → geometry (aggregate) -
st_makeline(geometry[]) → geometry
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | #1 | Not stated |
Differences from the operation
- As an aggregate, ST_MakeLine(geom ORDER BY field) joins a group's points; without ORDER BY the order is not guaranteed.
Harvested by the postgis harvester from engine version
3.7.0. Names can change when an engine is harvested again.