Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Calculating the Distance based on Lat & Lon as numbers not as objects

MAAbdullahAlMubarah
8 - Asteroid

Dear Experts,

 

I have a list of location with lat & lon  between the source and the destination (pickup/dropoff) as the following :

 

Pick-up long, drop-off long, Pickup lat, drop-off lat 

 

all of them as numbers but not as objects how I can I calculate the distance between them either by KM or Mile?

 

Thank you in advanced 

1 REPLY 1
RolandSchubert
16 - Nebula
16 - Nebula

Hi,

 

first step is to create points from long/lat info, then calculate distance.
Hopefully the attached workflow is helpful as a starting point.

Labels
Top Solution Authors