Change Grid Values - Flood Fill
- Author: A.Ringeler (c) 2005, O.Conrad (c) 2006, J.Spitzmueller (c) 2023
- Menu: Grid | Values
Description
Interactively use the flood fill method for replacement of grid cell values starting at the positions clicked with the left mouse button. If the target grid is not set, the changes will be applied to the original grid. If the target grid is set the tool will add the new grid on-top of the active map.
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Input | 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 number | REPLACE_VALUE | Replace only this value with respect to the specified tolerance. | Default: 0.000000 | |
Tolerance | floating point number | 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 number | FILL_VALUE | - | Default: 0.000000 |
Command Line
Usage: saga_cmd grid_tools 16 [-GRID] [-GRID_OUT ] [-REPLACE ] [-REPLACE_VALUE ] [-TOLERANCE ] [-IGNORE_NODATA ] [-FILL_NODATA ] [-FILL_VALUE ] -GRID: Grid grid, input -GRID_OUT: Changed Grid grid, output, optional -REPLACE: Value to be replaced choice Available Choices: [0] value at mouse position [1] fixed value Default: 0 -REPLACE_VALUE: Fixed value to be replaced floating point number Default: 0.000000 -TOLERANCE: Tolerance floating point number Minimum: 0.000000 Default: 1.000000 -IGNORE_NODATA: Ignore No-Data boolean Default: 1 -FILL_NODATA: Fill with No-Data boolean Default: 0 -FILL_VALUE: Fill Value floating point number Default: 0.000000