Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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

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
11 - Bolide

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
16 - Nebula
16 - Nebula

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
14 - Magnetar
14 - Magnetar
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
11 - Bolide

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
16 - Nebula
16 - Nebula

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
13 - Pulsar
13 - Pulsar

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
11 - Bolide

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