Change Grid Values - Flood Fill
| Author(s) | A.Ringeler (c) 2005, O.Conrad (c) 2006, J.Spitzmueller (c) 2023 |
| Library ID | grid_tools |
| Tool ID | 16 |
| Version | 1.0 |
| 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 | 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 |
| Tolerance | floating point number | TOLERANCE | - | Minimum: 0.000000
Default: 1 |
| 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 |
Command Line
This tool is not intended to be run from the command line!