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.
This parameter allows the choice of the interpretation of the keys in the resultant palette and supports the three possible palette key interpretations: UInt8, UInt16, and UInt32.
This parameter allows the optional specification of a maximum number of palette entries. If left as the default blank value, the number of unique keys in the bands specified by the interpretation in Palette Key Interpretation Type will will determine the number of palette entries.
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
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.