SAGA 9.4.2 | Tool Library Documentation

Change Grid Values - Flood Fill


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

 NameTypeIdentifierDescriptionConstraints
InputPointsshapes, inputPOINTS--
Gridgrid, 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 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