SAGA-GIS Tool Library Documentation (v8.1.0)

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.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPointsShapes, inputPOINTS--
GridGrid, inputGRID--
OutputChanged Grid (*)Grid, 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 pointREPLACE_VALUEReplace only this value with respect to the specified tolerance.Default: 0.000000
ToleranceFloating pointTOLERANCE-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 pointFILL_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