Recommend this page to a friend! |
Classes of Jericko Tejido | Geodesy PHP | README.md | Download |
|
Download
Geodesy-PHPGeodesy-PHP is a port of some known geodesic/math functions for getting distance from a known point A to a known point B given their coordinates (good for working out distances between different latitude/longitude data provided by Google Geolocation or any RESTful APIs). It also supports conversion between units of length, Polar position to Cartesian coordinates, and different Reference Datums. It provides distance calculations by: Great-circle distanceEllipsoid Geodesics
Unit ConversionAll operations are set in Metre. But it can also convert distance (and other transformation) values to:
Position ConversionIt also allows coordinate/geographical conversions between the ff:
Transformation OptionsReference Datums are, by default, set to WGS84. You can also transform one coordinate taken from a different source to another (see this for reference), as it also comes with some pre-built datums (though very limited in number as it has little use for me aside from WGS84, i.e. at the time of writing this). The following are the transformer options:
DocumentationYou can read about it here |