Tool Change Grid Values - Flood Fill
A flood fill algorithm will be used for replacement of grid cell values starting at the positions of the input points. If one or more points are selected, only these will be processed, otherwise all. If the target grid is not set, the changes will be applied to the original grid.
- Author: O.Conrad (c) 2018
- Menu: Grid|Values
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | Points | Shapes, input | POINTS | - | - |
Grid | Grid, input | GRID | - | - | |
Output | Changed Grid (*) | Grid, output, optional | GRID_OUT | - | - |
Options | Grid System | Grid system | PARAMETERS_GRID_SYSTEM | - | - |
Value to be replaced | Choice | REPLACE | - | Available Choices: [0] value at mouse position [1] fixed value Default: 0 | |
Fixed value to be replaced | Floating point | REPLACE_VALUE | Replace only this value with respect to the specified tolerance. | Default: 0.000000 | |
Tolerance | Floating point | TOLERANCE | - | Minimum: 0.000000 Default: 1.000000 | |
Ignore No-Data | Boolean | IGNORE_NODATA | Do not fill areas representing no-data. | Default: 1 | |
Fill with No-Data | Boolean | FILL_NODATA | - | Default: 0 | |
Fill Value | Floating point | FILL_VALUE | - | Default: 0.000000 | |
(*) optional |
Command-line
Usage: saga_cmd grid_tools 39 [-POINTS <str>] [-GRID <str>] [-GRID_OUT <str>] [-REPLACE <str>] [-REPLACE_VALUE <double>] [-TOLERANCE <double>] [-IGNORE_NODATA <str>] [-FILL_NODATA <str>] [-FILL_VALUE <double>] -POINTS:<str> Points Shapes, input -GRID:<str> Grid Grid, input -GRID_OUT:<str> Changed Grid Grid, output, optional -REPLACE:<str> Value to be replaced Choice Available Choices: [0] value at mouse position [1] fixed value Default: 0 -REPLACE_VALUE:<double> Fixed value to be replaced Floating point Default: 0.000000 -TOLERANCE:<double> Tolerance Floating point Minimum: 0.000000 Default: 1.000000 -IGNORE_NODATA:<str> Ignore No-Data Boolean Default: 1 -FILL_NODATA:<str> Fill with No-Data Boolean Default: 0 -FILL_VALUE:<double> Fill Value Floating point Default: 0.000000