Name

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

Synopsis

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

Description

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

Examples

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

See Also

ST_MakePoint, ST_Point, ST_PointM, ST_PointZ