SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Aggregate

Resamples a raster layer to a lower resolution, aggregatingthe values of a group of cells. This should be used in any case in which a normalresampling will result in wrong values in the resulting layer, such as, for instance,the number of elements of a given class in each cell.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid, inputINPUT--
OutputAggregated Grid (*)Data Object Grid, output, optionalOUTPUT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Aggregation SizeIntegerSIZE-Minimum: 2
Default: 2
MethodChoiceMETHOD-Available Choices:
[0] Sum
[1] Minimum
[2] Maximum
[3] Median
[4] Mean
[5] Mode
Default: 4
(*) optional

Command-line

Usage: saga_cmd grid_tools 1 [-INPUT <str>] [-OUTPUT <str>] [-SIZE <num>] [-METHOD <str>]
  -INPUT:<str> 	Grid
	Grid, input
  -OUTPUT:<str>	Aggregated Grid
	Data Object Grid, output, optional
  -SIZE:<num>  	Aggregation Size
	Integer
	Minimum: 2
	Default: 2
  -METHOD:<str>	Method
	Choice
	Available Choices:
	[0] Sum
	[1] Minimum
	[2] Maximum
	[3] Median
	[4] Mean
	[5] Mode
	Default: 4