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
![Closed](http://www.baooytra.com/docs/fme/2019.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
点,已经取代了input features.
![Closed](http://www.baooytra.com/docs/fme/2019.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
This port outputs null geometry features, and whenModeisAny Inside Point, all non-area geometry features.
Parameters
![Closed](http://www.baooytra.com/docs/fme/2019.0/html/FME_Desktop_Documentation/FME_Transformers/Skins/Default/Stylesheets/Images/transparent.gif)
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 theModeisCenter 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 theModeisCenter Point of Bounding BoxorCenter 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, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.
Transformer Categories
Technical History
Associated FME function or factory: @ConvertToPoint
FME社区搜索:亚搏国际在线官网
Search for samples and information about this transformer on theFME Community.
TagsKeywords: MBR "minimum bounding rectangle" CenterPointCreator CentrePointCreator CentrePointReplacer