Skip to main content
Solved

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

  • October 30, 2024
  • 3 replies
  • 293 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 😉

 

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

geomancer
Evangelist
Forum|alt.badge.img+60
  • 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+60
  • 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.