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_MMin

Introduction: Returns M minima of the given geometry or null if there is no M coordinate.

ST_MMin

Format: ST_MMin(geom: Geometry)

Return type: Double

Since: v1.6.1

SQL Example:

SELECT ST_MMin(
        ST_GeomFromWKT('LINESTRING ZM(1 1 1 1, 2 2 2 2, 3 3 3 3, -1 -1 -1 -1)')
)

Output:

-1.0