You are here: 列表 > ListHistogrammer

ListHistogrammer

计算列表中的值的柱状图,and returns these in a new list attribute on the feature.

参数

使用说明

If the source list did not have elements,a new list will not be created and this transformer will have made no changes to the feature.

例子

If a feature with this list enters this transformer:

somelist{0}.val = 'apple'

somelist{1}.val = 'donut'

somelist{2}.val = 'aardvark'

somelist{3}.val = 'apple'

someList 4.val='aardvark'

someList 5.val='苹果'

生成的功能将具有以下列表属性:

_histogram{0}.value = 'apple'

_柱状图0。计数=3

_histogram{1}.value = 'aardvark'

_histogram{1}.count = 2

_histogram{2}.value = 'donut'

_柱状图2。计数=1

编辑变压器参数

Using a set of menu options,transformer parameters can be assigned by referencing other elements in the workspace.更高级的功能,such as an advanced editor and an arithmetic editor,也可用于一些变压器。To access a menu of these options,click在适用参数旁边。For more information,看见Transformer Parameter Menu Options.

变压器类别

列表

搜索FME知识中心

在上搜索有关此变压器的示例和信息FME知识中心.