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.
alteryx Community

# 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

Alteryx

A solution to last week’s challenge can be found here

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.

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

View my solution video here:

Spoiler

11 - Bolide

The convergence of farming & analytics!

Spoiler

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

Spoiler

15 - Aurora

This was a fun one!

Spoiler

12 - Quasar

That was a tough one, love the curve ball!

Spoiler

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?

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

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

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

Spoiler

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
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
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 such

My Workflow:
Spoiler