ST_FlipCoordinates¶
Introduction: Returns a version of the given geometry with X and Y axis flipped.
Format: ST_FlipCoordinates(A: Geometry)
Since: v1.0.0
SQL Example
SELECT ST_FlipCoordinates(ST_GeomFromWKT("POINT (1 2)"))
Output:
POINT (2 1)
Introduction: Returns a version of the given geometry with X and Y axis flipped.
Format: ST_FlipCoordinates(A: Geometry)
Since: v1.0.0
SQL Example
SELECT ST_FlipCoordinates(ST_GeomFromWKT("POINT (1 2)"))
Output:
POINT (2 1)