Skip to content
🌵SedonaDB (Rust) 0.3.0 is out now, featuring larger-than-memory spatial joins, and row-level CRS!

ST_X

Introduction: Returns X Coordinate of given Point, null otherwise.

ST_X

Format: ST_X(pointA: Point)

Return type: Double

Since: v1.3.0

Example:

SELECT ST_X(ST_POINT(0.0 25.0))

Output:

0.0