제목

ST_MSize — Returns the M size of a geometry.

요약

float ST_MSize(geometry geom);

설명

Returns the M size of a geometry, computed as ST_MMax(geom) - ST_MMin(geom), or null if the geometry lacks M values.

This function supports 3d and will not drop the z-index.

This method supports Circular Strings and Curves.

Availability: 3.7.0

예시

Code
SELECT ST_MSize('LINESTRING M (1 2 3,4 6 8)');
래스터 출력
5
Figure
Geometry figure for visual-st-msize-01