FME Transformers: 2024.1

Categories
Attributes
Related Transformers
AttributeCopier
AttributeCreator
AttributeKeeper
AttributeManager
AttributeRemover
AttributeRenamer
AttributeValueMapper
BulkAttributeRenamer

BulkAttributeRemover

Removes all attributes with names that match a given regular expression. This transformer can be used to remove large numbers of attributes that have common naming patterns.

Jump to Configuration

Typical Uses

  • Remove multiple attributes from features where the attribute names have something in common, such as a prefix, suffix, string, or a pattern that can be described with a regular expression.

How does it work?

The BulkAttributeRemover lets you enter a regular expression - which may be as simple as a specific series of characters, or as complex as you like, using Advanced Regular Expression syntax.

Any attributes with a portion of their name matching your expression are removed, and all other attributes pass through the transformer untouched.

Matches are case-sensitive.

Examples

Usage Notes

  • Use the AttributeManager to remove selected individual attributes from a feature.
  • Use the AttributeKeeper to remove large numbers of attributes without expression matching, and keep selected individual attributes on a feature.
  • This transformer will not remove fme_ attributes - to remove them, use either the AttributeRemover or AttributeManager.

Configuration

Input Ports

Output Ports

Parameters

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.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies None
Aliases  
History Replaces the AttributeExpressionRemover

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 BulkAttributeRemover 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.