AttributeKeeper

Removes all attributes and list attributes, except the specific ones you specify to be retained.

Jump to Configuration

Typical Uses

  • Cleaning up features with large numbers of unnecessary attributes

How does it work?

Once connected to input features, the AttributeKeeper provides pick lists (one for attributes and one for list attributes) for you to choose which attributes to retain. All other attributes are removed, and the modified features are output.

Geometry and FME attributes are not removed.

Format attributes will be removed whether exposed or not . Exposed FME attributes will simply be hidden - not removed permanently.

Examples

Usage Notes

  • If the number of attributes you want to keep is greater than the number of attributes you want to remove, consider using the AttributeManager.
  • Use the AttributeManager to remove selected individual attributes from a feature.
  • Use the BulkAttributeRemover to remove all attributes that match a pattern.
  • To keep a Format attribute, expose it first, either in the reader or by using the AttributeExposer
  • If you choose to keep a list element attribute, for example member{0}.type, it won’t appear under the transformer unless this element has already been exposed. See Exposing List Attributes for more information.

Configuration

Input Ports

Output Ports

Parameters

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.

Defining Values

There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.

Dialog Options - Tables

Transformers with table-style parameters have additional tools for populating and manipulating values.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies None
FME Licensing Level FME Base Edition and above
Aliases ListKeeper
History  

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the AttributeKeeper on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver and/or the Open Government Licence – Canada.