Skip to main content
Solved

How to get center point of rectangular or square

  • March 13, 2022
  • 3 replies
  • 59 views

spiderman
Contributor
Forum|alt.badge.img+7

How to get center point of rectangular or square ?

i need to extract the coordinates of center point from any shape

as shown as pic .

rectangularFME 2020

Thanks in advance

Best answer by hkingsbury

Have a look at the CenterPointReplacer

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

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.

3 replies

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • Best Answer
  • March 13, 2022

spiderman
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • March 14, 2022

Thanks for ur suggestion ,it works but i have still other question relates to my problem .

12how could i extend the two lines to connect with the center point ?

 

FME 2020

Thanks for ur help .i appreciate it .


hkingsbury
Celebrity
Forum|alt.badge.img+67
  • Celebrity
  • March 14, 2022

Thanks for ur suggestion ,it works but i have still other question relates to my problem .

12how could i extend the two lines to connect with the center point ?

 

FME 2020

Thanks for ur help .i appreciate it .

Have a look at the AnchoredSnapper - https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/anchoredsnapper.htm

 

Your point will be the Anchor and the lines will be the Candidate