Selects specific bands and palettes of a raster for subsequent transformer operations.
The bands and palettes are selected using the band and palette indices, specified in a string. The string may either be specified explicitly or through an attribute. The format of the string is B P (separated with a space), where B is the band index and P is the palette index of the band and palette to be operated on. Indices are zero-based, so the first band or palette is at index 0.
Choose whether the bands and palettes are specified explicitly in a band and palette list, or through an attribute.
The function will only accept alphanumeric characters and valid symbols in the code string. The code string accepts the symbols ",", ";", and ":".
Multiple palettes for a band can be specified, delimited by commas.
Multiple band-palette pairs can be specified delimited by semicolons.
The keyword ALL can be used in place of band and palette numbers to select all bands or all palettes on a certain band. Specific palettes cannot be selected on ALL bands.
Specify the attribute containing the band and palette list string.
|all bands and all palettes||ALL ALL|
|first palette of the first band of a raster||0 0|
|first palette of the first band and first palette of the third band||0 0;2 0|
|the first three bands of the raster (without their palettes)||0;1;2|
|the first three bands of the raster (with their palettes)||0 ALL;1 ALL;2 ALL|
- This function overrides any existing selection on the raster. All unspecified bands and palettes on a raster after selection are treated as unselected for future operations. Selection is not considered by writers, so use the RasterBandSeparator and filtering to write subsets of the bands and palettes as individual features.
- It is possible to select bands without selecting the attached palettes.
- It is NOT possible to select palettes without selecting the owning band.
- Specific palettes cannot be selected on ALL bands; for example, ALL 2.
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.
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 selection select modify