Returns the NoData value defined for a band of a raster object. Returns NULL if no NoData value is defined for the band.
Syntax
float8 ST_NoData(raster raster_obj, integer band);Parameters
| Parameter | Description |
|---|---|
raster_obj | The raster object. |
band | The band index, starting from 0. |
Examples
SELECT ST_NoData(raster_obj, 0) FROM raster_table WHERE id = 1;Output:
0.000该文章对您有帮助吗?