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.
Output Ports
Points that have replaced the input features.
This port outputs null geometry features, and when Mode is Any Inside Point, all non-area geometry features.
Parameters
Center Point of Bounding Box: Replaces the geometry of the feature with a point that is in the center of the feature's bounding box. Depending on the feature’s shape, the resulting point may be far outside of the original feature.
Center of Gravity Point: Replaces the geometry of the feature with a point at the center of mass of the feature. Depending on the feature’s shape, the resulting point may be far outside of the original feature.
Any Inside Point: Replaces the geometry of the area feature with a point that is guaranteed to be inside the area.
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.
Usage Notes
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.
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
Technical History
Associated FME function or factory: @ConvertToPoint
Search FME Community
Search for samples and information about this transformer on the FME Community.
Tags Keywords: MBR "minimum bounding rectangle" CenterPointCreator CentrePointCreator CentrePointReplacer