Skip to main content
Solved

What is difference between inside point, centre of gravity and centre point transformer ?

  • April 27, 2021
  • 1 reply
  • 155 views

Forum|alt.badge.img

I would like to know about difference between inside point, centre of gravity and centre point transformer ? if any example to see differences. I tried with general shape file didn't find any differences.

Best answer by david_r

These used to be different transformers, but are now all integrated into the CenterPointReplacer transformer, with a different mode for each type.

The functionality is described in the documentation, be sure to expand the "Mode" parameter description:

http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/centerpointreplacer.htm

 

  • 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.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • 8392 replies
  • Best Answer
  • April 27, 2021

These used to be different transformers, but are now all integrated into the CenterPointReplacer transformer, with a different mode for each type.

The functionality is described in the documentation, be sure to expand the "Mode" parameter description:

http://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/centerpointreplacer.htm

 

  • 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.