名前

ST_Z — ポイントのZ値を返します。

概要

float ST_Z(geometry a_point);

説明

ポイントのZ値を返します。引数が有効でない場合にはNULLを返します。入力はポイントでなければなりません。

[注記]

ジオメトリのZ値の最小値と最大値を得るには??????を使います。

This method implements the SQL/MM specification.

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

SELECT ST_Z(ST_GeomFromEWKT('POINT(1 2 3 4)'));
 st_z
------
        3
(1 row)

                

関連情報

???, ST_M, ST_X, ST_Y, ???, ???