SAGA 9.4.2 | Tool Library Documentation

Simple Filter (Restricted to Polygons)


Description

Simple standard filters for grids, evaluation within polygons.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputINPUT--
Polygonsshapes, inputSHAPESThe filter will only operate on cells that belong to the same polygon or to none if skip outside option is off.-
OutputFiltered Gridgrid, output, optionalRESULT--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
FilterchoiceMETHODChoose the filter method.Available Choices: [0] Smooth [1] Sharpen [2] Edge Default: 0
Skip Outside CellsbooleanSKIP_OUTSIDEProcess only cells that are covered by a polygon.Default: 0
Kernel TypechoiceKERNEL_TYPEThe kernel's shape.Available Choices: [0] Square [1] Circle Default: 1
Radiusinteger numberKERNEL_RADIUScellsMinimum: 0 Default: 2

Command Line


Usage: saga_cmd grid_filter 18 [-INPUT ] [-RESULT ] [-SHAPES ] [-METHOD ] [-SKIP_OUTSIDE ] [-KERNEL_TYPE ] [-KERNEL_RADIUS ]
  -INPUT:        	Grid
	grid, input
  -RESULT:       	Filtered Grid
	grid, output, optional
  -SHAPES:       	Polygons
	shapes, input
  -METHOD:       	Filter
	choice
	Available Choices:
	[0] Smooth
	[1] Sharpen
	[2] Edge
	Default: 0
  -SKIP_OUTSIDE: 	Skip Outside Cells
	boolean
	Default: 0
  -KERNEL_TYPE:  	Kernel Type
	choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -KERNEL_RADIUS:	Radius
	integer number
	Minimum: 0
	Default: 2