Re: [off topic] distance
- Posted by jiri babor <jbabor at PARADISE.NET.NZ> Jan 01, 2001
- 461 views
Thanks, Colin. I did not know the English name of the method, so I could not find it, and I was not brave enough (or perhaps too lazy) to derive it all again myself. I resorted to a shortcut, hoping Kat was interested in only relatively short distances. But she has already revealed her global ambitions, so she really would be better off with the Great Circle Method (I must remember that too, since it's most unlikely to crop up in my life time again! ;)). Have nice millennium. jiri ----- Original Message ----- From: "Colin Taylor" <cetaylor at COMPUSERVE.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, January 01, 2001 5:01 AM Subject: Re: [off topic] distance > Kat wrote: > > > Hi all, off topic question... does anyone already have code for > determining > > Earth surface distance, given latitude and longitude points of two > locations? > > Jiri's code is a good approximation for short distances. For longer > distances, you should use the Great Circle method. The attached note gives > a brief description and the formula. Just be sure to convert degrees to > radians. > > -- Colin > >