Returns true if a geographic grid object contains the z height dimension, false otherwise. Use this function to determine whether a grid object includes Z dimension data.
Syntax
bool ST_HasZ(geomgrid gridcode);Parameters
| Parameter | Description |
|---|---|
gridcode | The geographic grid object. |
Examples
The following example checks whether the grid GZ0026206440 contains a z height dimension. The result t indicates that it does.
SELECT ST_HasZ(ST_GridFromText('GZ0026206440'));
st_hasz
---------
tSee also
ST_GridFromText