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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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