BookmarkSubscribeRSS Feed
JSJ
Quartz | Level 8 JSJ
Quartz | Level 8

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

1 REPLY 1
Haikuo
Onyx | Level 15

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: Save the Date

 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!

SAS Enterprise Guide vs. SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1451 views
  • 1 like
  • 2 in conversation