RasterPaletteNodataSetter

Identifies the palette key that matches a raster band’s nodata value, and sets a value on it.

Jump to Configuration

Typical Uses

  • Adding or altering the representation of nodata values on a palette.

How does it work?

The RasterPaletteNodataSetter receives raster features and sets a specified value on the palette key that matches the selected band’s nodata value. That is, if the nodata value is zero (0), it will find the palette entry with a key of zero (0) and change that entry’s value.

栅格带必须具有已设置的Nodata值,并具有调色板。

RGB, RGBA, and string palettes are supported.

This transformer supports raster band and palette selection. Therasterselectorcan be used to modify selection.

Usage Notes

  • This transformer does not alter the nodata value on the band. To set the nodata value on the bands of a raster, use theRasterBandNodataSetter.

Choosing a Raster Transformer

FME has an extensive selection of transformers for working with raster data. They can be generally categorized as working with whole rasters, bands, cells or palettes, and those designed for workflow control or combining raster with vector data.

For information on raster geometry and properties, seeRasters (IFMERaster).

配置

输入端口

Output Ports

Parameters

Editing Transformer Parameters

使用一组菜单选项,可以通过引用工作区中的其他元素来分配变压器参数。一些变压器也可提供更高级的功能,例如高级编辑器和算术编辑器。要访问这些选项的菜单,请单击除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options.

定义值

有几种方法来定义一个值供我使用n a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.

Reference

Processing Behavior

Feature-Based

Feature Holding

Dependencies 不ne
FME Licensing Level FME Professional Edition and above
Aliases
History
Categories

Rasters

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search forall results about the RasterPaletteNodataSetteron the FME Community.

Examples may contain information licensed under the Open Government Licence – Vancouver