AttributeRenamer
重命名、删除, or creates the specified attributes.
Input Ports
Input
Features with attributes.
Output Ports
Output
List of attributes, including any that have been renamed.All renamed attributes will initially appear at the bottom of the list.
Parameters
Attributes To Rename
- TheInput Attributecolumn specifies the attribute to rename.
- TheOutput Attributecolumn specifies the name of the attribute to rename theInput Attributeto.If theInput Attributedoes not exist and aDefault Valueis specified, then theOutput Attributewill be created and set to the value specified in theDefault Valuecolumn.
- TheDefault Valuecolumn specifies the value to set theOutput Attributeto if theInput Attributedoes not exist on the feature.A blankDefault Valuewill result in theOutput Attributenot being created if theInput Attributedoes not exist.
Usage Notes
- To rename a group of attributes (by changing attribute name case, or adding or removing prefixes to attribute names), use theBulkAttributeRenamer.
- You cannot use the AttributeRenamer to rename multiple reader feature type attributes with different names to a single writer feature type attribute.Only the last reader feature type attribute would actually be renamed.The transformer does not act as a filter to see if the attribute already exists.
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, clickbeside the applicable parameter.For more information, seeTransformer Parameter Menu Options.
Transformer Categories
Related Transformers
Search FME Knowledge Center
Search for samples and information about this transformer on theFME Knowledge Center.