Name

ST_PointM — Creates a Point with the given coordinate and SRID values.

Synopsis

geometry ST_PointZ(float x, float y, float m, integer srid=unknown);

Description

Returns an Point with the given X, Y and M coordinate values, and optionally an SRID number.

Examples

SELECT ST_PointM(-71.104, 42.315, 3.4, 4326)
SELECT ST_PointM(-71.104, 42.315, 3.4, srid => 4326)
SELECT ST_PointM(-71.104, 42.315, 3.4)

See Also

ST_MakePoint, ST_Point, ST_PointZ, ST_PointZM