SAGA-GIS Tool Library Documentation (v8.5.1)

Tool Change Grid Values

Changes values of a grid according to the rules of a user defined lookup table. Values or value ranges that are not listed in the lookup table remain unchanged. If the target is not set, the changes will be stored to the original grid.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid, inputINPUT--
Classified GridGrid, inputGRIDSynchronize with look-up table classification of another grid (gui only).-
OutputChanged Grid (*)Grid, output, optionalOUTPUT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Replace ConditionChoiceMETHOD-Available Choices:
[0] identity
[1] range
[2] synchronize look-up table classification
Default: 0
Lookup TableStatic tableIDENTITY-2 Fields:
- 1. [8 byte floating point number] New Value
- 2. [8 byte floating point number] Value
Lookup TableStatic tableRANGE-3 Fields:
- 1. [8 byte floating point number] New Value
- 2. [8 byte floating point number] Minimum
- 3. [8 byte floating point number] Maximum
(*) optional

Command-line

Usage: saga_cmd grid_tools 12 [-INPUT <str>] [-GRID <str>] [-OUTPUT <str>] [-METHOD <str>] [-IDENTITY <str>] [-RANGE <str>]
  -INPUT:<str>   	Grid
	Grid, input
  -GRID:<str>    	Classified Grid
	Grid, input
  -OUTPUT:<str>  	Changed Grid
	Grid, output, optional
  -METHOD:<str>  	Replace Condition
	Choice
	Available Choices:
	[0] identity
	[1] range
	[2] synchronize look-up table classification
	Default: 0
  -IDENTITY:<str>	Lookup Table
	Static table
	2 Fields:
	- 1. [8 byte floating point number] New Value
	- 2. [8 byte floating point number] Value
	
  -RANGE:<str>   	Lookup Table
	Static table
	3 Fields:
	- 1. [8 byte floating point number] New Value
	- 2. [8 byte floating point number] Minimum
	- 3. [8 byte floating point number] Maximum