Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
IDEAS WANTED

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #220: Hedge Detection

Highlighted
8 - Asteroid

Should have used the spatial process cut option, but instead I brute forced the hedge lengths

Tberney_0-1592415745423.png

 

Highlighted
8 - Asteroid

Hi! Really nice challenge! Here my solution

Highlighted
8 - Asteroid

This one was tougher that it looked! I was unable to keep my eyes on my own paper. HT to @T_Willins for finding an elegant and obvious solution to the total hedge length that I 100% ripped off.

 

Spoiler
sonyakasenkramer_1-1592432719919.png

 


 

Highlighted
8 - Asteroid

Reposting, tracker seems to have missed it.

Tberney_0-1592456062758.png

 

Highlighted
Alteryx
Alteryx

Interesting challenge!


Curious what kind of use case this might help with, particularly in the world of farming@wwatson or anyone else?

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

Challenge 220 is done! Went for as few tools as possible, managed to get it down to 9 tools eventually, so thankful to the spatial functions available in the formula tool!
(included a text input for reference table to create the fields)

 

Spoiler
image.png
Highlighted
Alteryx Partner

I admit defeat. As @TonyA I tried several approaches to avoid any hard-coding, but was trumped by some of the irregular shapes.

Spoiler
This was one of the best attempts (and the only one I saved)...
challenge_220.gif
M-O should be an edge. Then things would be easier...

So I went with an input text with the vertices as others have done.

Spoiler
dsmdavid_0-1592492294958.png

I reuse some of the tools I created while trying the not-hard-coding... not all was lost.

Highlighted
Alteryx Partner
Spoiler
jdiorio20_0-1592501731004.png

 

My solution definitely isn't dynamic. I'm curious if anyone else has developed a dynamic response?

Highlighted
8 - Asteroid

Great question. I assume you mean how to dynamically define the points that make up each field, and how to get them in order to make a proper polygon I did not solve that one either, although I think the text input I used is a bit cleaner than what you did.

 

After that, though, my solution is dynamic (attached). Messy - I'm sure there's a better way to compute hedge length than what I did.

 

Congrats!

Highlighted
8 - Asteroid

Getting the inner hedge length was really challenging! 

 

Spoiler
JonMcMillin_0-1592543986530.png