RASTER_RECLASSIFY
The RASTER_RECLASSIFY command modifies the pixel values of a raster layer, including palette images, terrain data, and single bands of imagery based on user specified rules.
- LAYER_DESC - description for the newly created raster layer.
- FILENAME - specify the filename of the already loaded layer to reclassify.
- BAND - specify the band from the input image layer that will be used in the reclassification. This parameter allows integer values. This parameter is not needed input for palette type layers or elevation grid layers. For elevation grid layers, only raw elevation values can be reclassified via this script command.
- OUTPUT_LAYER_TYPE - specify the type of layer to generate through reclassification. The output raster layer can be stored as a palette image, or a single band raster layer. Allowed values are: PALETTE, BAND_8BIT, BAND_16BIT. The default value is PALETTE.
- SET_UNLISTED_NO_DATA - set all values not specified in the reclassification rules to NO_DATA with SET_UNLISTED_NO_DATA=TRUE. If this parameters is not specified it defaults to FALSE.
- RULES_FILENAME - the full path to the saved rules file (*.gmr) to be used in the reclassification. This file must be created in the user interface Raster Reclassification tool and saved to a file location in order to use the rules in a script.