st_countagg


Description

args: rast, nband, exclude_nodata_value, sample_percent - Aggregate. Returns the number of pixels in a given band of a set of rasters. 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
$1 USER-DEFINED IN
$2 integer IN
$3 boolean IN
$4 double precision IN
$1 USER-DEFINED IN
$2 integer IN
$3 boolean IN
$1 USER-DEFINED IN
$2 boolean IN