SAGA.grid_tools.15: Reclassify Grid Values

The tool can be used to reclassify the values of a grid. It provides three different options:<br/>(a) reclassification of single values<br/>(b) reclassification of a range of values<br/>(c) reclassification of value ranges specified in a lookup table<br/><br/>In addition to these methods, two special cases (NoData values and values not included in the reclassification setup) are supported.<br/>With reclassification mode (a) and (b), the 'NoData option' is evaluated before the 'Method' settings. In reclassification mode (c) the option is evaluated only if the NoData value is not included in the lookup table.<br/>The 'other values' option is always evaluated after checking the 'Method' settings.<br/><br/>The tool allows one to define the NoData value of the output grid (header): by default, the output grid gets assigned the NoData value of the input grid. But it is also possible to assign a user defined NoData value.<br/><br/>

Inputs

Grid to reclassify

format
href
Please set a value for INPUT.

Select the desired method: 1. a single value or a range defined by a single value is reclassified, 2. a range of values is reclassified, 3. the lookup table is used to reclassify the grid.

string

Value to reclassify.

number

New value.

number

Select the desired operator (<;.;=; >;.); it is possible to define a range above or below the old value.

string

Minimum value of the range to be reclassified.

number

Maximum value of the range to be reclassified.

number

new value

number

Select operator: eg. min < value < max.

string

Lookup table used in method "table"

format
href
Please set a value for RETAB.

Select the desired operator (min < value < max; min . value < max; min .value . max; min < value . max).

string

Lookup table used in method "user supplied table"

format
href
Please set a value for RETAB_2.

minimum value

format
href
Please set a value for F_MIN.

maximum value

format
href
Please set a value for F_MAX.

new value

format
href
Please set a value for F_CODE.

Use this option to reclassify No-Data values independently of the method settings.

boolean

new value

number

Use this option to reclassify all other values that are not specified in the options above.

boolean

new value

number

Choose how to handle the NoData value of the output grid.

string

User defined NoData value for output grid.

number

Outputs

Reclassified grid.

format
transmission

Execution options

successUri
inProgressUri
failedUri

format

mode

Execute End Point

View the execution endpoint of a process.

View the alternative version in HTML.

{"id": "SAGA.grid_tools.15", "title": "Reclassify Grid Values", "description": "The tool can be used to reclassify the values of a grid. It provides three different options:<br/>(a) reclassification of single values<br/>(b) reclassification of a range of values<br/>(c) reclassification of value ranges specified in a lookup table<br/><br/>In addition to these methods, two special cases (NoData values and values not included in the reclassification setup) are supported.<br/>With reclassification mode (a) and (b), the 'NoData option' is evaluated before the 'Method' settings. In reclassification mode (c) the option is evaluated only if the NoData value is not included in the lookup table.<br/>The 'other values' option is always evaluated after checking the 'Method' settings.<br/><br/>The tool allows one to define the NoData value of the output grid (header): by default, the output grid gets assigned the NoData value of the input grid. But it is also possible to assign a user defined NoData value.<br/><br/>", "version": "1.0.0", "jobControlOptions": ["sync-execute", "async-execute", "dismiss"], "outputTransmission": ["value", "reference"], "links": [{"rel": "http://www.opengis.net/def/rel/ogc/1.0/execute", "type": "application/json", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8119/ogc-api/processes/SAGA.grid_tools.15/execution"}, {"rel": "alternate", "type": "text/html", "title": "Execute End Point", "href": "http://tb17.geolabs.fr:8119/ogc-api/processes/SAGA.grid_tools.15/execution.html"}], "inputs": {"INPUT": {"title": "Grid", "description": "Grid to reclassify", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "application/x-ogc-envi", "application/x-ogc-aaigrid", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "INPUT"}, "METHOD": {"title": "Method", "description": "Select the desired method: 1. a single value or a range defined by a single value is reclassified, 2. a range of values is reclassified, 3. the lookup table is used to reclassify the grid.", "schema": {"type": "string", "default": "single", "enum": ["single", "range", "simple table", "user supplied table"], "nullable": true}, "id": "METHOD"}, "OLD": {"title": "old value", "description": "Value to reclassify.", "schema": {"type": "number", "default": 0, "format": "double", "nullable": true}, "id": "OLD"}, "NEW": {"title": "new value", "description": "New value.", "schema": {"type": "number", "default": 1, "format": "double", "nullable": true}, "id": "NEW"}, "SOPERATOR": {"title": "operator", "description": "Select the desired operator (<;.;=; >;.); it is possible to define a range above or below the old value.", "schema": {"type": "string", "default": "=", "enum": ["="], "nullable": true}, "id": "SOPERATOR"}, "MIN": {"title": "minimum value", "description": "Minimum value of the range to be reclassified.", "schema": {"type": "number", "default": 0, "format": "double", "nullable": true}, "id": "MIN"}, "MAX": {"title": "maximum value", "description": "Maximum value of the range to be reclassified.", "schema": {"type": "number", "default": 10, "format": "double", "nullable": true}, "id": "MAX"}, "RNEW": {"title": "new value", "description": "new value", "schema": {"type": "number", "default": 5, "format": "double", "nullable": true}, "id": "RNEW"}, "ROPERATOR": {"title": "operator", "description": "Select operator: eg. min < value < max.", "schema": {"type": "string", "default": "=", "enum": ["="], "nullable": true}, "id": "ROPERATOR"}, "RETAB": {"title": "Lookup Table", "description": "Lookup table used in method \"table\"", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/csv", "text/csv"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}, "id": "RETAB"}, "TOPERATOR": {"title": "operator", "description": "Select the desired operator (min < value < max; min . value < max; min .value . max; min < value . max).", "schema": {"type": "string", "default": "min ", "enum": ["min "], "nullable": true}, "id": "TOPERATOR"}, "RETAB_2": {"title": "Lookup Table", "description": "Lookup table used in method \"user supplied table\"", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/csv", "text/csv"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}, "id": "RETAB_2"}, "F_MIN": {"title": "minimum value", "description": "minimum value", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/csv", "text/csv"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}, "id": "F_MIN"}, "F_MAX": {"title": "maximum value", "description": "maximum value", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/csv", "text/csv"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}, "id": "F_MAX"}, "F_CODE": {"title": "new value", "description": "new value", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["text/csv", "text/csv"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}}}], "nullable": true}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "utf-8", "contentMediaType": "text/csv"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "text/csv"}]}, "id": "F_CODE"}, "NODATAOPT": {"title": "no data values", "description": "Use this option to reclassify No-Data values independently of the method settings.", "schema": {"type": "boolean", "default": false, "enum": ["true", "false"], "nullable": true}, "id": "NODATAOPT"}, "NODATA": {"title": "new value", "description": "new value", "schema": {"type": "number", "default": 0, "format": "double", "nullable": true}, "id": "NODATA"}, "OTHEROPT": {"title": "other values", "description": "Use this option to reclassify all other values that are not specified in the options above.", "schema": {"type": "boolean", "default": false, "enum": ["true", "false"], "nullable": true}, "id": "OTHEROPT"}, "OTHERS": {"title": "new value", "description": "new value", "schema": {"type": "number", "default": 0, "format": "double", "nullable": true}, "id": "OTHERS"}, "RESULT_NODATA_CHOICE": {"title": "Assign ...", "description": "Choose how to handle the NoData value of the output grid.", "schema": {"type": "string", "default": "NoData value of input grid", "enum": ["NoData value of input grid", "user defined NoData value"], "nullable": true}, "id": "RESULT_NODATA_CHOICE"}, "RESULT_NODATA_VALUE": {"title": "NoData Value", "description": "User defined NoData value for output grid.", "schema": {"type": "number", "default": -99999, "format": "double", "nullable": true}, "id": "RESULT_NODATA_VALUE"}}, "outputs": {"RESULT": {"title": "Reclassified Grid", "description": "Reclassified grid.", "extended-schema": {"oneOf": [{"allOf": [{"$ref": "http://zoo-project.org/dl/link.json"}, {"type": "object", "properties": {"type": {"enum": ["image/tiff", "application/x-ogc-envi", "application/x-ogc-aaigrid", "image/png"]}}}]}, {"type": "object", "required": ["value"], "properties": {"value": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}}}]}, "schema": {"oneOf": [{"type": "string", "contentEncoding": "base64", "contentMediaType": "image/tiff"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-envi"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "application/x-ogc-aaigrid"}, {"type": "string", "contentEncoding": "base64", "contentMediaType": "image/png"}]}, "id": "RESULT"}}}

http://tb17.geolabs.fr:8119/ogc-api/processes/SAGA.grid_tools.15.html
Last modified: Sat Feb 19 15:43:34 CET 2022