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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1292 views
  • 1 like
  • 2 in conversation