列表历史语法
计算在列表中找到的值的直方图,并在功能的新列表属性中返回这些值。
Parameters
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
The source list from which the histogram will be computed.
![关闭](http://www.baooytra.com/docs/fme/2017.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
The name of the new list attribute that will contain the output histogram. The new list will be sorted so that the value with the most occurrences will be first.
使用说明
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.
Example
If a feature with this list enters this transformer:
somelist{0}.val = 'apple'
somelist{1}.val='甜甜圈'
somelist{2}.val = 'aardvark'
somelist{3}.val='苹果'
somelist{4}.val = 'aardvark'
somelist{5}.val='苹果'
the resulting feature will have this list attribute:
_histogram{0}.value = 'apple'
_直方图{0}.count=3
_直方图{1}.值='aardvark'
_histogram{1}.count = 2
_直方图{2}.value='甜甜圈'
_直方图{2}.count=1
编辑变压器参数
使用一组菜单选项,可以通过引用工作空间中的其他元素来指定转换器参数。更高级的功能,如高级编辑器和算术编辑器,也可以在一些变压器。要访问这些选项的菜单,请单击beside the applicable parameter. For more information, see变压器参数菜单选项.
变压器类别
搜索FME知识中心
在上搜索有关此变压器的示例和信息FME Knowledge Center.