FME Transformers: 2024.1

Categories
Format Specific
Geometries
Workflows
Related Transformers
GeometryExtractor
PointCloudExtractor
PointCloudReplacer
RasterExtractor
RasterReplacer

GeometryReplacer

Replaces the geometry of a feature according to the setting of the geometry encoding parameter. This transformer is typically used to restore geometry previously extracted into an attribute by the GeometryExtractor.

Usage Notes

  • If a feature with existing geometry has that geometry replaced using this transformer, and the new geometry is a different type (replacing an area with a point, for example), the feature's existing geometry-related format-specific attributes (such as geodb_type, autocad_entity, or shapefile_type) will be removed.
    The feature's fme_ attributes should be referred to instead, such as fme_type and fme_geometry.
    See also: About Feature Type Attributes and fme_type

  • Geometry stored as an attribute may not retain its coordinate system. If the new geometry is in a different coordinate system, use a CoordinateSystemSetter to set it.

Configuration

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.

Transformer History

This transformer contains the functionality of the now-deprecated OGCGeometryReplacer and XMLGeometryReplacer.

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