You are here: ListsAttributeExploder

AttributeExploder

Creates a new pair of attributes (attribute name/attribute value) from each attribute on the input feature and either outputs these on a new feature or adds them as a list element to the original feature. In both cases, it is possible to either conserve or delete the original attributes and geometry.

Input Ports

Output Ports

Parameters

Example

Suppose we have an input feature with the following two attributes:.

  • Name = John
  • Type = Employee

If Keep Attributes is set to Yes, the parameter Exploding Type: Feature will produce two features with four attributes each:

Name = John

Type = Employee

_attr_name = Name

_attr_value = John

 

Name = John

Type = Employee

_attr_name = Type

_attr_value = Employee

The parameter Exploding Type: List will add an attribute list to the original feature:

Name = John

Type = Employee

_attr_list{0}._attr_name = Name

_attr_list{0}._attr_value = John

_attr_list{1}._attr_name = Type

_attr_list{1}._attr_value = Employee

Related Transformers

AttributeExposer

FME Licensing Level

FME Professional edition and above

Editing Transformer Parameters

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 beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Lists

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.