This page contains the latest versions of files that are up for downloading.
Class.GeoTools.php
A class that makes life easier for PHP devs struggling with GPS based calculations. Use it to:
- Calculate the distance between 2 GPS locations
- Calculate the initial bearing (angle) between 2 GPS locations
- Calculate the GPS location X meter away from another GPS location under bearing Y. (I personally love this one)
From the PHPClasses podcast:
“Cesar Rodas: Well, the first one is from Menno Bieringa, I don’t know if I’m pronouncing it right, he is from Argentina, and he created a class which is Geo Tools which basically has a bunch of methods for measuring distance between two points. I find his approach very interesting, I gave it a try it and it works really, really fine. And about the JS class, I would talk a little bit about the… “

