Skip to content

ST_MMin

Returns the minimum M-coordinate (measure) of a geometry’s bounding box.

Usage

double ST_MMin(geom: geometry)

Arguments

  • geom (geometry): Input geometry

Examples

SELECT ST_MMin(ST_GeomFromWKT('LINESTRING ZM (1 2 3 4, 5 6 7 8)'));
-- Returns: 4
┌───────────────────────────────────────────────────────────────────┐
│ st_mmin(st_geomfromwkt(Utf8("LINESTRING ZM (1 2 3 4, 5 6 7 8)"))) │
│                              float64                              │
╞═══════════════════════════════════════════════════════════════════╡
│                                                               4.0 │
└───────────────────────────────────────────────────────────────────┘