You are here: Rasters > RasterPaletteGenerator

RasterPaletteGenerator

Generates a palette out of the selected band(s) of a raster. The output raster will have the selected band(s) replaced by a new band with a palette.

For example, if Palette Key Interpretation Type is set to UInt8 and Maximum Number of Palette Entries to 87, the generated palette will only have Uint8 keys and a maximum of 87 unique entries.

This operation may be lossy if an explicit maximum number of entries is used that is less that the number of unique band entries. In this case, the data values in the palette may not capture all the original band data values.

Usage Notes

This transformer supports raster band and palette selection. The RasterSelector can be used to modify selection.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Rasters

FME Licensing Level

FME Professional edition and above

 

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.