Weekly Challenges

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

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #220: Hedge Detection

pasccout
8 - Asteroid

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

 

OllieClarke
15 - Aurora
15 - Aurora

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
FlorianC
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
Strategic Solution Consultant
Alteryx
JustinBabbitt
Alteryx
Alteryx

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

 

Spoiler
JustinBabbitt_0-1592245518347.png
Justin Babbitt
TonyA
Alteryx Alumni (Retired)

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
T_Willins
14 - Magnetar
14 - Magnetar

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

 

 

 

 

 

DaisukeTsuchiya
13 - Pulsar

I needed to create table but it was fun.

 

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

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

patrick_digan
17 - Castor
17 - Castor
Spoiler
patrick_digan_0-1592270890269.png

 

LHolmes
9 - Comet

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