Change Grid Values - Flood Fill
- Author: O.Conrad (c) 2018
- Menu: Grid | Values
Description
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.
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 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 39 [-POINTS ] [-GRID ] [-GRID_OUT ] [-REPLACE ] [-REPLACE_VALUE ] [-TOLERANCE ] [-IGNORE_NODATA ] [-FILL_NODATA ] [-FILL_VALUE ]
-POINTS: Points
shapes, input
-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