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.

Weekly Challenge

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

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

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

Submit Feedback

Challenge #220: Hedge Detection

AYXAcademy
Alteryx
Alteryx

A solution to last week’s challenge can be found hereField.png

 

This week's challenge was submitted by @wwatson - Thanks for your submission!

 

In this week's challenge, a farmer has 7 fields which are all bound by hedges. He provides you with a series of spatial points defining the corners of the fields.

 

He would like you to calculate the total area of the farm in Sq Km, the perimeter of the farm in Km, the area and perimeter of each field and the total length of the hedges on the farm.

johnemery
10 - Fireball

I hate my solution. I think it's far too "hard-coded" but I couldn't see how to solve the problem more dynamically.

 

Very tricky!

 

Spoiler
Capture.PNG

View my solution video here:

Spoiler

 

Aaron_Harter
11 - Bolide

The convergence of farming & analytics!

Spoiler
220clean.PNG

 

 (edit 6/15 9:48 CT) video of solution overview:

Spoiler

 

Kenda
15 - Aurora
15 - Aurora

This was a fun one!

Spoiler
Kenda_0-1592227992226.png

 

Blake
12 - Quasar

That was a tough one, love the curve ball! 

 

Spoiler
220.png

 

What do farmers use to make crop circles?

 

Spoiler
A pro-tractor.

Ok fine, one more... 

 

What did the baby corn say to the mama corn? 

 

Spoiler
Where is popcorn? 

 

cgoodman3
12 - Quasar
12 - Quasar
Spoiler
Bit of brute force with building the look up table, but couldn't think of another way of creating each farm.

Challenge 220.PNG
Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
hanykowska
10 - Fireball

Also very hardcoded solution, looking forward to the seeing the original solution. Nevertheless, fun challenge!

 

Spoiler
hanykowska_0-1592231403641.png

 

hanykowska_1-1592231421865.png

 

RolandSchubert
15 - Aurora
15 - Aurora

I rarely work with spatial ...  my solution is not as flexible as I would like. And I guess certainly not as simple as it could be.

 

Spoiler
220.png
phottovy
11 - Bolide

I also had to hard code some items and I needed some help on the "Total Hedge Length" but it's always good to get more practice with tools I don't use very often.

 

Spoiler
220.PNG
RWvanLeeuwen
10 - Fireball

This was fun! But you definitely need to think a bit before starting.

 

Spoiler
My Resulting dataset:
Spoiler
I wanted to show the details rather than append the totals to each row so the farmers can decide whether they want to split the costs for shared fences and suchI wanted to show the details rather than append the totals to each row so the farmers can decide whether they want to split the costs for shared fences and such


My Workflow:
Spoiler
Initial change made:
Spoiler
220 input change.jpg


Full Workflow:
Spoiler
220 workflow.jpg