ST_NoData
更新时间:
复制 MD 格式
Returns the predefined NoData value for a specified band in a raster object. If no NoData value is defined for the band, the function returns null.
Syntax
float8 ST_NoData(raster raster_obj, integer band_sn)Parameters
| Parameter | Description |
|---|---|
raster_obj | The raster object. |
band_sn | The band sequence number, starting from 0. |
Examples
select ST_NoData(raster_obj, 0) from raster_table where id=1;Sample output:
0.000See also
ST_NumBands: Get the number of bands in a raster object before querying per-band NoData values.
ST_SetNoData: Set or update the NoData value for a band.
该文章对您有帮助吗?