Solved

Making polygons that look like pie

  • 20 November 2019
  • 4 replies
  • 1 view

Badge

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.

icon

Best answer by redgeographics 20 November 2019, 16:40

View original

4 replies

Userlevel 4
Badge +25

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

Badge +10

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

Badge

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.
Badge

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

Reply