ST_MakePointM

Introduction: Creates a point with X, Y, and M coordinate. Use ST_MakePoint to make points with XY, XYZ, or XYZM coordinates.

Format: ST_MakePointM(x: Double, y: Double, m: Double)

Return type: Geometry

Since: v1.6.1

Example:

SELECT ST_MakePointM(1, 2, 3)

Output:

Point M(1 2 3)