st_count(text, text, integer, boolean)


Description

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

Parameters

Name Type Mode
rastertable text IN
rastercolumn text IN
nband integer IN
exclude_nodata_value boolean IN