跳转至
Apache Sedona 1.9.0 已正式发布,新增 Spark 4.1 支持、proj4sedona 坐标系转换、Bing Tile 函数等众多特性!

ST_XMin

Introduction: Returns the minimum X coordinate of a geometry

ST_XMin

Format: ST_XMin (A: Geometry)

Return type: Double

Since: v1.2.1

Example:

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

Output:

-1