Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Creates a LineString from a MultiPoint geometry. ST_LineFromMultiPoint

Signatures

ST_LineFromMultiPoint (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example

SELECT ST_LineFromMultiPoint(ST_GeomFromText('MULTIPOINT((10 40), (40 30), (20 20), (30 10))'))
LINESTRING (10 40, 40 30, 20 20, 30 10)