Skip to main content
Returns the minimum X coordinate of a geometry ST_XMin

Signatures

ST_XMin (A: Geometry)

Parameters

A
Geometry
required
The input geometry.

Return type

A numeric value.

Example

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