RasterBandNameSetter

套the band name of selected bands on a raster, making raster contents simpler to understand compared to band numbers.

Jump to Configuration

典型的用途

  • 将名称添加到栅格带以进行处理要求或清晰度。

How does it work?

The RasterBandNameSetter receives raster features and applies either a single name or list of names to the currently selected band or bands.

To select specific bands, use theRasterSelectorprior to the RasterBandNameSetter.

名称列表必须提供为FME list attribute

This transformer supports raster band selection. Palettes are unaffected.

使用列表属性进行名称列表

当输入类型是列表时(输入类型=名称列表), 一种列表属性that contains band names must be specified.

The values in the list will be applied to the selected bands, in the order they were selected. The list must contain at least as many elements as there are selected bands. List values are used sequentially.

List Examples

鉴于具有三个频带和没有频带名称的输入栅格功能,该表显示了针对与频带名称的相同列表属性的不同组合的预期输出。

List Attribute*

选择的乐队*
(bold)

得到的乐队名称

_bandnames{0} = 'OneDog'

_bandnames{1} = 'TwoCats'

_Bandnames {2} ='hopfish'

0.

1

2

频段0:oneedog.

Band 1:TwoCats

Band 2:三蝇

0.

1

2

频段0:oneedog.

Band 1:

Band 2:

0.

1

2

频段0:oneedog.

Band 1:

Band 2:TwoCats

0.

1

2

频段0:

Band 1:oneedog.

Band 2:TwoCats

*Band numbers start at zero (0), as do list elements. The band name list attribute may have any name.

Usage Notes

选择光栅变压器

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)

组态

Input Ports

输出Ports

参数

编辑变压器参数

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在适用的参数。在密苏里州re information, seeTransformer Parameter Menu Options

Defining Values

有几种方法可以在变压器中定义使用的值。最简单的是简单地输入值或字符串,其可以包括各种类型的函数,例如属性引用,数学和字符串函数和工作区参数。有许多工具和快捷方式可以帮助构造值的值,通常可以从与值字段相邻的下拉上下文菜单中提供。

Reference

Processing Behavior

特征为基础

功能持有

No

依赖性 None
FME许可级别 FME专业版及以上
别名
历史
类别

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.

搜索all results about the RasterBandNameSetter关于FME社区。亚搏国际在线官网

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