SAGA 9.6.1 | Tool Library Documentation

Grid Statistics for Polygons


Description

Zonal grid statistics. For each polygon statistics based on all covered grid cells will be calculated.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsgrid list, inputGRIDS--
Polygonsshapes, inputPOLYGONS--
OutputStatisticsshapes, output, optionalRESULT--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Field NamingchoiceNAMING-Available Choices: [0] grid number [1] grid name Default: 1
MethodchoiceMETHOD-Available Choices: [0] simple and fast [1] polygon wise (cell centers) [2] polygon wise (cell area) [3] polygon wise (cell area weighted) Default: 0
Use Multiple CoresbooleanPARALLELIZED-Default: 0
Number of CellsbooleanCOUNT-Default: 1
MinimumbooleanMIN-Default: 1
MaximumbooleanMAX-Default: 1
RangebooleanRANGE-Default: 1
SumbooleanSUM-Default: 1
MeanbooleanMEAN-Default: 1
VariancebooleanVAR-Default: 1
Standard DeviationbooleanSTDDEV-Default: 1
GinibooleanGINI-Default: 0
PercentilestextQUANTILESSeparate the desired percentiles by semicolon, e.g. "5; 25; 50; 75; 95"-

Command Line


Usage: saga_cmd shapes_grid 2 [-GRIDS ] [-POLYGONS ] [-NAMING ] [-METHOD ] [-PARALLELIZED ] [-RESULT ] [-COUNT ] [-MIN ] [-MAX ] [-RANGE ] [-SUM ] [-MEAN ] [-VAR ] [-STDDEV ] [-GINI ] [-QUANTILES ]
  -GRIDS:       	Grids
	grid list, input
  -POLYGONS:    	Polygons
	shapes, input
  -NAMING:      	Field Naming
	choice
	Available Choices:
	[0] grid number
	[1] grid name
	Default: 1
  -METHOD:      	Method
	choice
	Available Choices:
	[0] simple and fast
	[1] polygon wise (cell centers)
	[2] polygon wise (cell area)
	[3] polygon wise (cell area weighted)
	Default: 0
  -PARALLELIZED:	Use Multiple Cores
	boolean
	Default: 0
  -RESULT:      	Statistics
	shapes, output, optional
  -COUNT:       	Number of Cells
	boolean
	Default: 1
  -MIN:         	Minimum
	boolean
	Default: 1
  -MAX:         	Maximum
	boolean
	Default: 1
  -RANGE:       	Range
	boolean
	Default: 1
  -SUM:         	Sum
	boolean
	Default: 1
  -MEAN:        	Mean
	boolean
	Default: 1
  -VAR:         	Variance
	boolean
	Default: 1
  -STDDEV:      	Standard Deviation
	boolean
	Default: 1
  -GINI:        	Gini
	boolean
	Default: 0
  -QUANTILES:   	Percentiles
	text