Name

ST_PointZM — Creates a Point with X, Y, Z, M and SRID values.

Synopsis

geometry ST_MakeEnvelope(double precision xmin, double precision ymin, double precision xmax, double precision ymax, integer srid=unknown);

Descripción

Devuelve un ST_Point con el valor de coordenadas dado. Es un alias de ST_MakePoint del OGC.

Enhanced: 3.2.0 srid as an extra optional argument was added. Older installs require combining with ST_SetSRID to mark the srid on the geometry.

Ejemplos

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)

Ver también

ST_MakePoint, ST_Point, ST_PointM, ST_PointZ, ST_SetSRID