You are here: Infrastructure > AttributeCopier

AttributeCopier

Copies existing attributes to new attributes with the specified names. The existing attribute remains and a new attribute is created that has a different name, but the same value.

Input Ports

Output Ports

Parameters

Example

Tip: Use an AttributeCopier rather than manually connecting attributes.

You can replace manual attribute connections with an AttributeCopier transformer. In this example, FME won't connect the attributes because either the case is different or the name is different.

If you right-click on the existing connection and choose Auto Connect Attributes, FME will guess at the connections, choosing to connect the attributes that have lowercase names.

FME won't connect PathLength to LENGTHOFPATH because the attribute names are different, so you will have to manually connect these attributes.

If these connections are somehow deleted, you will have to repeat these steps. However, if you insert an AttributeCopier to map the attributes, then the connections are saved.

Right-click on the connection and choose Replace with > AttributeCopier:

The transformer replaces the attribute connections. The new attribute names are in the list:

Click the properties button to see how the old attributes map to the new attributes.

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

Infrastructure

Search FME Knowledge Center

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