FME Transformers: 2024.1

Categories
Geometries
Spatial Analysis

CenterPointReplacer

Replaces the geometry of the feature with a point that is either in the center of the feature's bounding box, at the center of mass of the feature, or somewhere guaranteed to be inside the feature's area.

If the Mode is Center Point of Bounding Box or Center of Gravity Point, depending on the feature's shape, the resulting point may be far outside of the original feature.

Example

The following illustration shows the result when the Mode is Center of Gravity Point. The transformer calculates the exact distribution of portions of a shape; therefore, some points can actually appear outside a feature.

Configuration

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.

 

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

Keywords: MBR "minimum bounding rectangle" CenterPointCreator CentrePointCreator CentrePointReplacer