|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 230 ||All time: 8,030 This week: 284|
This package can get the distance between places with their coordinates.
It takes the latitude and longitude of two points on the planet Earth and calculates the distance between them going in a straight line.
The package can also converts values between units of length, between Geographical position to Cartesian, and between different Reference Datums.
Geodesy-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:
Spherical Law of Cosines
All operations are set in Metre. But it can also convert distance (and other transformation) values to:
It also allows coordinate/geographical conversions between the ff:
Polar to Cartesian
Cartesian to Polar
Polar to Web Mercator
Web Mercator to Polar
Reference 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:
3-Parameter Molodensky Transformer
7-Parameter Helmert Transformer
10-Parameter Molodensky-Badekas Transformer
You can read about it here
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.