Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

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