Skip to main content
Solved

Create a polygon based on input attributes

  • November 14, 2023
  • 5 replies
  • 20 views

fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Hello. Could someone advise? I have an airport runway and for each runway I have a runway threshold coordinate - start and end. I also know the length and width of the runway between these runway thresholds. I would need to graphically create a polygon that will create the correct visualization for me based on these input attributes. The output format will be a shapefile. The dates of each runway are several times, because depending on the direction from which I land, I have the name of the runway. In reality, it is 2 points of each runway (start and end) and their one length and width. Thank you very much

 

Best answer by david_r

Thank you for answer. This is the result from FME from my input data? Would it be possible to show the workspace? Thank you

Sure thing, it's indeed using your sample data. Note that I've simply hardcoded a runway width of 25 meters:

image

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.

5 replies

david_r
Celebrity
  • November 14, 2023

You could join the two points into a line (e.g. using a LineBuilder with a Group By on the runway ID) and then use the Bufferer to convert the line into a polygon using the runway width divided by 2. You probably want to use the "None" end cap style in the Bufferer. Sample result:

image


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

You could join the two points into a line (e.g. using a LineBuilder with a Group By on the runway ID) and then use the Bufferer to convert the line into a polygon using the runway width divided by 2. You probably want to use the "None" end cap style in the Bufferer. Sample result:

image

Thank you for answer. This is the result from FME from my input data? Would it be possible to show the workspace? Thank you


david_r
Celebrity
  • Best Answer
  • November 14, 2023

Thank you for answer. This is the result from FME from my input data? Would it be possible to show the workspace? Thank you

Sure thing, it's indeed using your sample data. Note that I've simply hardcoded a runway width of 25 meters:

image


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Thank you very much, I will try it tomorrow and let you know the result.

 

 

 


fmesafe.podpora
Contributor
Forum|alt.badge.img+11

Your solution works great, thank you very much.