You are here: RastersRasterPaletteAdder

RasterPaletteAdder

Creates a palette from an attribute, and adds this palette to all selected bands on a raster.

Selected bands are required to have an interpretation of UINT8, UINT16, or UINT32. Note that palette entries will be discarded if they do not fit within the interpretation of a selected band. For example, when adding a palette to a UINT8 band, all keys that are greater than 255 will be dropped.

Parameters

Format of Palette Attributes

See Format of Palette Attributes in the RasterPaletteExtractor.

Usage Notes

This transformer supports raster band selection. Selected bands are required to have an interpretation of UInt8, UInt16, or UInt32. The RasterSelector can be used to modify selection.

Related Transformers

This transformer may be used in combination with the AttributeFileWriter to read a palette from a file. The AttributeFileWriter can read a palette file into an attribute, and this transformer can then create a palette from that attribute.

The RasterPaletteExtractor may be used to do the reverse operation and create a palette from a string attribute.

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.

Tags Keywords: raster grid band channel palette lookup LUT colormap colourmap attribute add append read create