Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

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 #77: Extending Spatial Lines

Samanthaj_hughes
ACE Emeritus
ACE Emeritus

This is a cool one, I have saved it in my default tools folder. 🙂

#Alteryxrocks
paultno
8 - Asteroid

My solution!

Maskell_Rascal
13 - Pulsar

Fun challenge! Here is my solution. 

 

Spoiler
Similar to others, I found the easiest approach to create a trade area around the end points of the original line. Then split to points, calculate distances, and find the greatest length. Pretty straight forward after that. Just combine all the data back together. 

Workflow and visual:
Maskell_Rascal_0-1625151058753.png


Macro:

Maskell_Rascal_1-1625151097246.png

Cheers!

Phil

JasonHu
8 - Asteroid
Spoiler
workflow.png
PangHC
12 - Quasar

here my solution.

but i do not understand why longest distance will be the extend point? 

IraWatt
17 - Castor
17 - Castor

Trig was too painful, had to look for inspiration in comments. Very cool use of other tools to get round trig. 

 

Spoiler
IraWatt_0-1627570114940.png
IraWatt_1-1627570141677.png

 

Hub119
11 - Bolide
11 - Bolide

Solution attached.

phottovy
13 - Pulsar
13 - Pulsar

I had to take a peak at the solution for this one but fun challenge!

JoePC
9 - Comet

Solution Attached

jjrbondoc
8 - Asteroid
Spoiler
jjrbondoc_0-1631627285344.pngjjrbondoc_1-1631627311380.pngjjrbondoc_2-1631627320475.png