SAGA-GIS Tool Library Documentation (v7.2.0)

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 (input)INPUT--
Grid ClassificationGrid (input)GRIDSynchronize with look-up table classification of another grid (gui only).-
OutputChanged Grid (*)Grid (optional output)OUTPUT--
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>] [-OUTPUT <str>] [-METHOD <str>] [-IDENTITY <str>] [-RANGE <str>] [-GRID <str>]
  -INPUT:<str>   	Grid
	Grid (input)
  -OUTPUT:<str>  	Changed Grid
	Grid (optional output)
  -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
	
  -GRID:<str>    	Grid Classification
	Grid (input)