Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt

Use this file to discover all available pages before exploring further.

Returns M maxima of the given geometry or null if there is no M coordinate. ST_MMax

Signatures

ST_MMax(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

A numeric value.

Example

SELECT ST_MMax(
        ST_GeomFromWKT('POLYGON ZM ((30 10 5 1, 40 40 10 2, 20 40 15 3, 10 20 20 4, 30 10 5 1))')
)
4.0