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

Here is my solution... also too many hardcoded groups...

 

Highlighted
Alteryx Certified Partner

Really don't like my solution, might have to come back and try with fresher mind later on in the week

Spoiler
Challenge 220.PNG
Highlighted
Alteryx
Alteryx

I am getting a different value for the whole farm area:

 

Unexpected Value - Field:Whole Farm Area Sq Km Row:1 Expected:0.244003224338693 Actual:0.244003224339429

Spoiler
WorkflowWorkflowLook-up tableLook-up table
Florian Carrier
Solutions Engineer
Alteryx
Highlighted
Alteryx Partner

I feel like many earlier posters: I wish I could have figured out a more elegant solution! 

 

Spoiler
JustinBabbitt_0-1592245518347.png
Highlighted
Alteryx
Alteryx

I tried a bunch of ways to generate the polygons without hard coding, but Field 7 broke any approach I can think of. So here's my hard coded solution:

 

Spoiler
2020-06-15_13-02-02.png
Highlighted
13 - Pulsar

The hedge length stopped me for a few minutes trying to find a solution with spatial tools, but algebra wins with the Formula tool.  Ended up with a similar Text Input as other solutions to map the points of each polygon.

 

Spoiler
Workflow 220.png

 

 

 

 

 

Highlighted
11 - Bolide

I needed to create table but it was fun.

 

Spoiler
キャプチャ.PNG
Highlighted
8 - Asteroid

Hard coded lookup variable to sort the line sequence and hedge sequence. Not sure is there any dynaminc approach. 

Highlighted
16 - Nebula
16 - Nebula
Spoiler
patrick_digan_0-1592270890269.png

 

Highlighted
7 - Meteor

Great spatial fun. 

Spoiler
Couldn't think of any other way but to define fields in a text input after using a map tool with labels to identify the fields.

220 - Solution.PNG

Results in two formats:

 

Spoiler
Alternate format:
220 - Solution Result Alt.PNG

Given format:
220 - Solution Result Given Format.PNG