Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

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