Skip to main content
RETURN Linestring with additional point at the given index, if position is not available the point will be added at the end of line. ST_AddPoint

Signatures

Parameters

geom
Geometry
required
The input geometry.
point
Geometry
required
The point value.
position
Integer
The position value.

Return type

The resulting geometry.

Example