SAGA-GIS Tool Library Documentation (v9.0.1)

Tool Unique Value Statistics for Grids

This tool analyzes for each cell position the uniquely appearing values of the input grids. Output is the number of unique values, the most frequent value (the majority), and the least frequent value (minority).

Parameters

 NameTypeIdentifierDescriptionConstraints
InputValuesGrid list, inputGRIDS--
OutputMajority (*)Grid, output, optionalMAJORITY--
Minority (*)Grid, output, optionalMINORITY--
Number of Unique Values (*)Grid, output, optionalNUNIQUES--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
(*) optional

Command-line

Usage: saga_cmd statistics_grid 20 [-GRIDS <str>] [-MAJORITY <str>] [-MINORITY <str>] [-NUNIQUES <str>]
  -GRIDS:<str>   	Values
	Grid list, input
  -MAJORITY:<str>	Majority
	Grid, output, optional
  -MINORITY:<str>	Minority
	Grid, output, optional
  -NUNIQUES:<str>	Number of Unique Values
	Grid, output, optional