Skip to main content
Solved

How to Create a Rectangle Using Top-Right and Bottom-Left Coordinates in FME?

  • October 30, 2024
  • 3 replies
  • 145 views

arash_hokm
Contributor
Forum|alt.badge.img+8

Hello FME Community,

I have point data with attributes for the X and Y coordinates of the top-right and bottom-left corners (e.g., X_TopRight, Y_TopRight, X_BottomLeft, Y_BottomLeft). I would like to create a rectangle based on these two corner points.

Could anyone suggest the best approach or transformers to use in FME to accomplish this?

Thanks for your help!

Best answer by geomancer

Take a look at the 2DBoxReplacer 😉

 

View original
Did this help you find an answer to your question?

3 replies

geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • Best Answer
  • October 30, 2024

Take a look at the 2DBoxReplacer 😉

 


arash_hokm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • October 30, 2024

@geomancer Thank you


geomancer
Evangelist
Forum|alt.badge.img+47
  • Evangelist
  • October 30, 2024

You're welcome!

Recently I struggled with the same question. I thought up a few difficult solutions before I found the easy solution: 2DBoxReplacer.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings