ST_EndPoint¶
Introduction: Returns last point of given linestring.
Format: ST_EndPoint(geom: geometry)
SQL example:
SELECT ST_EndPoint(ST_GeomFromText('LINESTRING(100 150,50 60, 70 80, 160 170)'))
Output: POINT(160 170)
Introduction: Returns last point of given linestring.
Format: ST_EndPoint(geom: geometry)
SQL example:
SELECT ST_EndPoint(ST_GeomFromText('LINESTRING(100 150,50 60, 70 80, 160 170)'))
Output: POINT(160 170)