你在这里: Attributes > ListIndexer

ListIndexer

Copies the attributes of the list element specified by the index to become main attributes of the feature.

参数

例子

如果此功能进入此变形式仪器:

索音{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

Attributes

Additional Resources

有关列表的更多信息

FME知识Ce搜索:nter

Search for samples and information about this transformer on theFME知识中心