FME Transformers: 2024.1

Filters and Joins
Related Transformers


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

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.


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, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.