Skip to main content
Returns M Coordinate of given Point, null otherwise. ST_M

Signatures

ST_M(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

A numeric value.

Example

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