დასახელება

ST_Z — Returns the Z coordinate of a Point.

სინოპსისი

float ST_Z(geometry a_point);

აღწერა

Return the Z coordinate of the point, or NULL if not available. Input must be a point.

[შენიშვნა]

To get the minimum and maximum Z value of geometry coordinates use the functions ST_ZMin and ST_ZMax.

This method implements the SQL/MM specification.

This function supports 3d and will not drop the z-index.

მაგალითები

Code
SELECT ST_Z('POINT(1 2 3 4)');
Output
3

ასევე იხილეთ

ST_GeomFromEWKT, ST_M, ST_X, ST_Y, ST_ZMax, ST_ZMin