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 a version of the given geometry with X and Y axis flipped. ST_FlipCoordinates

Signatures

ST_FlipCoordinates(A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

The resulting geometry.

Example

SELECT ST_FlipCoordinates(ST_GeomFromWKT("POINT (1 2)"))
POINT (2 1)