Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

Challenge #161: Triangles, Triangles, Triangles

Highlighted
Nebula
Nebula

516 on the money.

 

Sneaky @JoeM  didn't put all the points in a perfect straight line which made for some fun....

 

Result1.pngResult2.png

 

Spoiler

Turns out that the create polygon actually takes care of most of the heavy lifting for you - any truly colinear points don't actually correctly resolve into a polygon so you have an easy check.

Solution.png



Looking forward to working through other folk's solutions!

Highlighted
Asteroid

I thought this was going to be way simpler than it turned out to be, that final filter is tricky

Highlighted
Meteor
 
Highlighted
Meteoroid
Spoiler
alteryx_challenge_161.png
Highlighted
Alteryx Certified Partner

11

 

Spoiler
Capture.PNG
Highlighted
Alteryx Certified Partner

This challenge helped me to learn that spatial point ordering within a triangle influences the outcomes of convex hull versus sequence polygon

Spoiler
the sequence polygon results in three times as many records after using the unique tool, ergo they aren't uniquethe sequence polygon results in three times as many records after using the unique tool, ergo they aren't unique
Highlighted
Alteryx Certified Partner

My solution:

Spoiler
challenge 161.jpg
Highlighted
Alteryx Partner

Challenge 161 is done!

 

Spoiler
challenge 161 JMS solution.PNG
Moderator
Moderator

Took a slightly longer approach

Highlighted
Alteryx Certified Partner

This was a fun one, got a full match to the 516 triangles. Keen to see how everyone has implemented logic for colinearity. 

 

Spoiler
Snag_4b3e227.png