Hi, I would like to calculate the distance between addresses in SAS EG. (In South Korea)
I am not sure if I have longitude and latitude or not.
I see there is a function Geodist if that is available.
Any ideas?
Thanks!
Jo
If you can settel with crude distance, there is another function ZIPCITYDISTANCE(); if you want it more precise, then:
Step 1. : Geocoding. Proc geocode. search it. there are many papers on this topic, and you will want street level geocoding.
Step 2: apply GEODIST on the coordinates you obtained from Step1.
Haikuo
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Save the date!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!