DATA Step, Macro, Functions and more

geodist function

Reply
Frequent Contributor
Posts: 77

geodist function

Accroding to this SAS note:
http://support.sas.com/kb/36/198.html

The new GEODIST function in SAS® 9.2 returns the geodetic distance between two latitude and longitude coordinates.


Is this geodetic distance the same as spherical distance/great-circle distance?
Trusted Advisor
Posts: 2,113

Re: geodist function

No, it uses the Vincenty formula as referenced in the documentation of the function. See

http://en.wikipedia.org/wiki/Vincenty%27s_formulae
Ask a Question
Discussion stats
  • 1 reply
  • 724 views
  • 0 likes
  • 2 in conversation