SAGA 9.3.3 | Tool Library Documentation

Change Grid Values - Flood Fill


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

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputGRID--
OutputChanged Gridgrid, output, optionalGRID_OUT--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Value to be replacedchoiceREPLACE-Available Choices: [0] value at mouse position [1] fixed value Default: 0
Fixed value to be replacedfloating point numberREPLACE_VALUEReplace only this value with respect to the specified tolerance.Default: 0.000000
Tolerancefloating point numberTOLERANCE-Minimum: 0.000000 Default: 1.000000
Ignore No-DatabooleanIGNORE_NODATADo not fill areas representing no-data.Default: 1
Fill with No-DatabooleanFILL_NODATA-Default: 0
Fill Valuefloating point numberFILL_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