[osflash] distance between two points of lat/long
Darren Cook
darren at dcook.org
Wed Dec 13 20:46:30 EST 2006
> Getting some slightly 'off' results...anyone w/ a little geodata
> experience up for checking my math here? Really appreciate any
> suggestions for improving the code here too!
There was an article in a recent php Architect (Vol 5, Issue 10)
(http://www.phparch.com) where they gave this link:
http://en.wikipedia.org/wiki/Haversine_formula
FWIW, your code looks simpler than the php implementation in that
article, so you may be missing something.
Darren
More information about the osflash
mailing list