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.
- Author: V.Olaya (c) 2005
- Menu: Grid|Grid System
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Grid | Grid, input | INPUT | - | - |
Output | Aggregated Grid (*) | Data Object Grid, output, optional | OUTPUT | - | - |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Aggregation Size | Integer | SIZE | - | Minimum: 2 Default: 2 |
Method | Choice | METHOD | - | 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, 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
Default: 0