概要
float ST_Z(
geometry a_point)
;
説明
ポイントのZ値を返します。引数が有効でない場合にはNULLを返します。入力はポイントでなければなりません。
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)