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.

Return the geometry with vertex order reversed ST_Reverse

Signatures

ST_Reverse (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example

SELECT ST_Reverse(ST_GeomFromWKT('LINESTRING(0 0, 1 2, 2 4, 3 6)'))
LINESTRING (3 6, 2 4, 1 2, 0 0)