SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Close One Cell Gaps

Closes one cell gaps using the arithmetic mean, median, majority or minority value of the surrounding cell values. If the target is not set, the changes will be stored to the original grid.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid, inputINPUT--
OutputChanged Grid (*)Grid, output, optionalRESULT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
NeighbourhoodChoiceMODENeumann: the four horizontally and vertically neighboured cells; Moore: all eight adjacent cellsAvailable Choices:
[0] Neumann
[1] Moore
Default: 1
ValueChoiceMETHOD-Available Choices:
[0] arithmetic mean
[1] median
[2] majority
[3] minority
Default: 0
(*) optional

Command-line

Usage: saga_cmd grid_tools 6 [-INPUT <str>] [-RESULT <str>] [-MODE <str>] [-METHOD <str>]
  -INPUT:<str> 	Grid
	Grid, input
  -RESULT:<str>	Changed Grid
	Grid, output, optional
  -MODE:<str>  	Neighbourhood
	Choice
	Available Choices:
	[0] Neumann
	[1] Moore
	Default: 1
  -METHOD:<str>	Value
	Choice
	Available Choices:
	[0] arithmetic mean
	[1] median
	[2] majority
	[3] minority
	Default: 0