Skip to content
πŸŽ‰ Apache Sedona 1.9.1 is out now! πŸ—ΊοΈ Geography SQL functions, Box2D & Box3D types, raster Python UDFs & more. Read the release notes β†’

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