fmeobjects.FMERasterTools.convertBandInterpretation

FMERasterTools.convertBandInterpretation(interpretation, band, parms)

Converts data type of a band.

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

Parameters:
Return type:

FMEBand

Returns:

The band after converting band interpretation.

Raises:

FMEException – An exception is raised if an error occurred.