Name

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

Synopsis

geometry ST_MakePoint(double precision x, double precision y, double precision z, double precision m);

설명

주어진 좌표값을 가진 ST_Point를 반환합니다. ST_MakePoint와 동일한 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.

예시

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

참고

ST_MakePoint, ST_PointFromText, ST_SetSRID, ST_MakePointM