st_lineinterpolatepoints
How PostGIS runs Points Along Lines: st_lineinterpolatepoints.
| Engine | PostGIS |
|---|---|
| Tool name | st_lineinterpolatepoints |
| Interface | sql |
| Implements | Points Along Lines |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
use_spheroid | boolean | no | true | Not stated | Not stated |
repeat | boolean | no | true | Not stated | Not stated |
SQL overloads
-
st_lineinterpolatepoints(geography, double precision, use_spheroid boolean DEFAULT true, repeat boolean DEFAULT true) → geography -
st_lineinterpolatepoints(geometry, double precision, repeat boolean DEFAULT true) → geometry -
st_lineinterpolatepoints(text, double precision) → geometry
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | #1 | Not stated |
distance | Not stated | Takes a fraction of the line's length: divide the distance by ST_Length of the line. |
unit | Not stated | always crs-units |
Differences from the operation
- The first point is one step from the start; there is no point at the start.
- Returns one MultiPoint per line.
Harvested by the postgis harvester from engine version
3.7.0. Names can change when an engine is harvested again.