Skip to main content
Solved

Making polygons that look like pie

  • November 20, 2019
  • 4 replies
  • 11 views

Forum|alt.badge.img

Hello, I need help. I got input data(points) with attributes: LONGITUDE, LATITUDE, AZIMUTH, AZIMUTH RADIUS AND AZIMUTH WIDTH. I need to get output polygons that look like a pie.

Best answer by redgeographics

I think this would do the trick:

Although I haven't looked at what happens if the pie slice crosses the 0 degrees line.

piebaker.fmw

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+58
  • Celebrity
  • Best Answer
  • November 20, 2019

I think this would do the trick:

Although I haven't looked at what happens if the pie slice crosses the 0 degrees line.

piebaker.fmw


ebygomm
Influencer
Forum|alt.badge.img+43
  • Influencer
  • November 20, 2019
redgeographics wrote:

I think this would do the trick:

Although I haven't looked at what happens if the pie slice crosses the 0 degrees line.

piebaker.fmw

The 2DArcReplacer considers the angle counter clockwise from the horizontal. Not the azimuth


Forum|alt.badge.img
  • Author
  • November 20, 2019
redgeographics wrote:

I think this would do the trick:

Although I haven't looked at what happens if the pie slice crosses the 0 degrees line.

piebaker.fmw

Thanks, you helped me a lot.

Forum|alt.badge.img
  • Author
  • November 20, 2019
ebygomm wrote:

The 2DArcReplacer considers the angle counter clockwise from the horizontal. Not the azimuth

It is correct. But in the formula, we can add : if 450-(azimuth-(width/2)) >360 then (azimuth-(width/2)) -360 else if 450-(azimuth-(width/2)) <360 then (azimuth-(width/2))


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