Routes features based on their geometry type.

Each feature that enters the transformer is output via the port corresponding to its geometry type. Features are not altered.

Typical Uses

  • Writing to formats with different feature types for specific geometry types

  • Separating features based on geometry for further individual processing

  • Extracting one or more groups of features from a dataset based on geometry and discarding the rest

How does it work?

Once connected, the GeometryFilter lets you select which geometry types to filter incoming features by. All features are passed through the transformer, exiting via the port corresponding to their geometry type, or the unfiltered port for geometry types that were not selected.

Usage Notes

  • FME will sometimes automatically insert a GeometryFilter into a generated workspace. Some destination formats only permit features of a specific geometry type to be written to a single feature type. For example, a Personal Geodatabase Feature Type (Esri Feature Class) can hold polygons or polylines, but not both.

    When you read from a source dataset that permits multiple geometry types in a feature class, but write to a destination dataset that is restricted to a single geometry type per class, FME automatically creates a destination feature type for each geometry type and inserts a GeometryFilter to divide up the features on the basis of geometry. This ensures that no destination feature type receives features that it is not permitted to write.

  • When in Simple mode, Aggregate features are automatically homogenized and filtered based on their component type. To keep heterogeneous aggregates together and filter homogeneous aggregates based on their geometry type switch to Detailed mode. To filter all types of aggregates together use the AggregateFilter.

  • When in Simple mode, GeometryInstance features are automatically instantiated. To filter GeometryInstances without modification, switch to Detailed mode.

  • MultipleGeometry features are treated as aggregates in this transformer. To filter MultipleGeometry features specifically use the MultipleGeometryFilter.


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



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


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