This function returns the predefined NoData value for a band of a raster object. If the NoData value is not defined, the function returns null.
Syntax
float8 ST_NoData(raster raster_obj, integer band);
Parameters
Parameter | Description |
---|---|
raster_obj | The raster object. |
band | The band sequence number, starting from 0. |
Examples
select ST_NoData(raster_obj, 0) from raster_table where id=1;
__________________________________
0.000