Name
ST_M, st_m — returns the M coordinate.
Synopsis
ST_M(
|
in g any); |
Description
returns the M coordinate. M is for mileage or the like. M equal to 245.3 could be 245.3 km of road or 0.3 distance from buoy 245 to buoy 246 or similar.
Parameters
g
Geometry point
Return Types
Returns double precision.
Examples
Example 24.706. Simple Use
SELECT st_m( st_point (10, 20, 30, 40));
unnamed
DOUBLE PRECISION
40