Desktop productivity for business analysts and programmers

Calculate distance between locations in SAS EG?

Reply
Contributor JSJ
Contributor
Posts: 43

Calculate distance between locations in SAS EG?

[ Edited ]

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

Respected Advisor
Posts: 3,124

Re: Calculate distance between locations in SAS EG?

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

Ask a Question
Discussion stats
  • 1 reply
  • 228 views
  • 1 like
  • 2 in conversation