ListIndexer
Copies the attributes of the list element specified by the index to become main attributes of the feature.
参数
指定ROLTERS属性的名称变换器将从中读取。
其内容将复制到输出功能的主要属性的列表元素的索引。
If you enter a negative number, the index starts from the back of the list (for example,-1将复制列表中的最后一个元素)。
添加到降级属性的可选前缀。
例子
如果此功能进入此变形式仪器:
索音{0} .length = 7.3
somelist{0}.kind = ’paved’
somelist{1}.length = 8.4
somelist{1}.kind = ’smooth’
索莫斯{1} .lanes = 2
SOMERIST {2} .Length = 1.1
索莫斯特{2} .kind ='粗糙'
索引设置为2,然后将变压器的功能设置为以下属性:
长度= 1.1
类型=“粗糙”
索音{0} .length = 7.3
somelist{0}.kind = paved
somelist{1}.length = 8.4
索音{1} .kind ='shovell'
索莫斯{1} .lanes = 2
SOMERIST {2} .Length = 1.1
somelist{2}。类型=“粗糙”
The index may either be entered as a number, or can be taken from the value of a feature attribute by selecting the attribute name from the pull-down list.
Editing Transformer Parameters
使用一组菜单选项,变压器参数s 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除适用的参数旁边。有关更多信息,请参阅Transformer Parameter Menu Options。
Transformer Categories
Additional Resources
FME知识Ce搜索:nter
Search for samples and information about this transformer on theFME知识中心。