fmeobjects.FMERasterTools.convertPaletteInterpretation

FMERasterTools.convertPaletteInterpretation(keyInterpretation, valueInterpretation, palette, nodataKey, parms)

Converts data type of a palette.

Note that this method is similar to convertInterpretation with a mode of FME_REINTERPRET_MODE_PALETTE, except that this operates directly on a single palette, rather than on all the selected bands of a raster.

Parameters:
Return type:

FMEPalette

Returns:

The palette after converting the interpretation.

Raises:

FMEException – An exception is raised if an error occurred.