Routes features to different output ports depending on the value of an attribute. The set of possible attribute values can be entered manually, or extracted from an input source in the properties dialog.

Jump to Configuration

Typical Uses

  • Separating features based on attribute values for further individual processing
  • Extracting one or more groups of features from a dataset based on attribute values
  • Selecting features from a dataset that match specific values and discarding the rest
  • Grooming a dataset by keeping select features and discarding features with non-matching, empty, missing, and/or null values

How does it work?

Once connected, the AttributeFilter lets you select an attribute to filter incoming features by. By default, Empty, Missing, Null, and Unfiltered outputs are provided, and you can specify additional values to filter by either entering them manually or importing values from an existing dataset.

All features are passed through the transformer, exiting via the appropriate output port.

Cached Values and Data-Aware Attributes

If Feature Caching is enabled, available attribute values from upstream features may be viewed and selected through the Import > From Feature Cache... option.


Usage Notes

  • Ideally, you will want to keep the filter list fairly small; otherwise you can end up with a very long list of attributes. If FME determines that the list might be too large, it will return a warning.
  • If feature filtering can be done with groups or ranges of values, consider using the TestFilter or AttributeRangeFilter.
  • If you are filtering features for the sole purpose of writing to separate layers or datasets, consider using Fanout instead.
  • Feature ordering may be specified with the Advanced > Preserve Feature Order parameter.


Input Ports

Output Ports


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.


Processing Behavior


Feature Holding


Dependencies None

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 AttributeFilter on the FME Community.


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