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.

Returns last point of given linestring. ST_EndPoint

Signatures

ST_EndPoint(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example

SELECT ST_EndPoint(ST_GeomFromText('LINESTRING(100 150,50 60, 70 80, 160 170)'))
POINT(160 170)