AttributeKeeper
Removes all attributes and list attributes from the feature, except the ones that are selected from the attribute list.
This can be useful when features have large numbers of unnecessary attributes. You can clean up the features so that they only retain the attributes you want to work with.
Input Ports
This transformer accepts any feature.
Output Ports
All processed features are output through this port.
Parameters
Click the browse button to display the list dialog. Select the attributes that you want to keep on the feature. The unchecked attributes will be removed, except for any fme_* attributes.
After you connect this transformer, click the Browse button and select the lists to keep.
Note that if you select to keep a list, your selection will include any list attributes or nested lists. For example, if you select to keep a list called
list{}
then list{}.attr or list{}.sublist{}
will also be kept.
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 AttributeRemover. AttributeRemover can also be used to remove fme_* attributes.
- Use the AttributeRemover to remove selected individual attributes from a feature.
- Use the BulkAttributeRemover to remove all attributes that match a pattern.
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.
Transformer Categories
Search FME Knowledge Center
Search for samples and information about this transformer on the FME Knowledge Center.
Tags Keywords: ListKeeper lists