st_count(raster, boolean)


Description

args: rast, exclude_nodata_value - 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
rast USER-DEFINED IN
exclude_nodata_value boolean IN