ST_IsMeasured

Determine whether a geometry is measured, that is, whether its vertices have m coordinates.

Syntax

ST_IsMeasured(geo);
geo
The input geometry.

Type: ST_GEOMETRY(ANY)

Returns

A value of type BOOL that is TRUE if the geometry vertices have m coordinates; otherwise FALSE.

Examples

SELECT inza..ST_IsMeasured(inza..ST_WKTToSQL('LINESTRING (0 0, 11 0, 11 11, 0 0))'));

ST_ISMEASURED
---------------
f
(1 row)
SELECT inza..ST_IsMeasured(inza..ST_WKTToSQL('LINESTRING ZM(0 0 0 0, 11 0 5 5, 11 11 9 8, 0 0 0 0))'));
 
ST_ISMEASURED
---------------
t
(1 row)
SELECT inza..ST_IsMeasured(inza..ST_Point(1.0, 5.0, 8.0, False));

ST_ISMEASURED
---------------
t
(1 row)