SAGA-GIS Tool Library Documentation (v7.3.0)

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 (input)INPUT--
OutputAggregated Grid (*)Data Object Grid (optional output)OUTPUT--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Aggregation SizeIntegerSIZE-Minimum: 2
Default: 2
MethodChoiceMETHOD-Available Choices:
[0] Sum
[1] Minimum
[2] Maximum
[3] Median
[4] Mean
Default: 0
(*) 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 (optional output)
  -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
	Default: 0