Skip to content
🎉 Apache Sedona 1.8.1 is now available! Check out the new features and improvements.

ST_XMin

Introduction: Returns the minimum X coordinate of a geometry

Format: ST_XMin (A: Geometry)

Since: v1.2.1

SQL Example

SELECT ST_XMin(ST_GeomFromText('POLYGON ((-1 -11, 0 10, 1 11, 2 12, -1 -11))'))

Output:

-1