Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

split circle into 8 equal pie pieces

rbasaria
7 - Meteor

Hello. I have searched around on here, and was able to find some workflows that have helped me get this far. The issue I am having is that I can't split the circle into 8 perfect equal parts, since the 100 points created by the poly-split tool cannot be evenly divided by 8. Maybe there is another way to do this? Or maybe there is a way to have the poly-split tool split into 200 points instead of 100 points? I couldn't find any settings to change that.

 

Here, I get a result that is VERY close to what I need, but the odd numbered polygons are slightly smaller than the even numbered polys, so they aren't completely equal parts.

 

So close! Anyway, I appreciate any help! Thanks!

4 REPLIES 4
AkimasaKajitani
17 - Castor
17 - Castor

As discussed here, the earth is an ellipsoid and cannot be accurately divided into eight equal parts.

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Create-an-quot-arc-quot-polygon-from-t...

 

However, I think a closer approach is possible.
I've created a workflow to get closer to equality by adding the midpoint of each Pie shape.
I create only at small pie.

 

AkimasaKajitani_0-1604376146096.png

 

AkimasaKajitani_1-1604376225120.png

AkimasaKajitani_2-1604376250772.png

 

 

 

It may also be possible to get closer, but I don't know the way.

Qiu
21 - Polaris
21 - Polaris

@AkimasaKajitani 
Its same with my thoughts, but dont how to connect the first and last one either.

rbasaria
7 - Meteor

This actually looks like it should work for what I need! Thanks! I will be working through this today.

AkimasaKajitani
17 - Castor
17 - Castor

It might be easier to create the midpoint of all the points first. Sorry for not thinking about it.

 

AkimasaKajitani_0-1604412298387.png

 

AkimasaKajitani_2-1604412346984.png

 

I attached the sample WF, please find it.

 

Labels
Top Solution Authors