Skip to main content
Solved

Making polygons that look like pie

  • November 20, 2019
  • 4 replies
  • 15 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

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.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3701 replies
  • 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+44
  • Influencer
  • 3427 replies
  • 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

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


Forum|alt.badge.img
  • Author
  • 11 replies
  • 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

Thanks, you helped me a lot.

Forum|alt.badge.img
  • Author
  • 11 replies
  • November 20, 2019

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))