FME Transformers: 2025.2

Categories
Geometries

GeometryNameExtractor

Extracts geometry names to an attribute.

How does it work?

The GeometryNameExtractor receives features of any type and retrieves names from any named geometries that exist on the feature, including multi geometries.

Geometry names are added to a specified attribute. If multi geometry produces more than one name, a list attribute is created.

Features with unnamed geometry receive a blank attribute.

Features without geometry are output unchanged.

Note  List attributes are not accessible from the output schema in FME Workbench until they are exposed with an AttributeExposer or processed with a transformer that operates on them, such as a ListExploder or ListConcatenator.

Usage Notes

  • Named geometries differ from geometry type names such as point, curve, and area. To retrieve geometry types, use the @GeometryType() feature function in any transformer that outputs attributes, such as the AttributeManager.
  • This transformer retrieves names but does not make the named geometries available elsewhere in the workspace. The GeometryExposer exposes geometry names for use by transformers and writers, but does not add them to an attribute.

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  

FME Online Resources

The FME Community and Support Center Knowledge Base have a wealth of information, including active forums with 35,000+ members and thousands of articles.

Search for all results about the GeometryNameExtractor 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.