fmeobjects.FMERasterTools.resolvePalettes

FMERasterTools.resolvePalettes(raster)

Resolves the values in a raster’s bands to the values in the lookup palettes associated with each band.

This method does not work with string palettes.

Parameters:raster (FMERaster) – The raster object where the bands belong to.
Return type:FMERaster
Returns:The raster after resolving the values.
Raises:FMEException – An exception is raised if an error occurred.