Skip to content
Apache Sedona 1.9.0 is out now, featuring Spark 4.1 support, proj4sedona CRS transformation, Bing Tile functions, and more!

ST_M

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

ST_M

Format: ST_M(geom: Geometry)

Return type: Double

Since: v1.6.1

SQL Example

SELECT ST_M(ST_MakePoint(1, 2, 3, 4))

Output:

4.0