geodesy-php
geodesy-php copied to clipboard
Geodesy PHP - Port of some known geodesic/math functions for getting distance from a known point A to a known point B given their coordinates. It also supports conversion between units of length, Pola...
The `$cosSqAlpha` variable used in line 97 of [src/Geodesy/Distance/VincentyFormula.php](https://github.com/jtejido/geodesy-php/blob/master/src/Geodesy/Distance/VincentyFormula.php#L97) can be undefined if condition in [line 63](https://github.com/jtejido/geodesy-php/blob/master/src/Geodesy/Distance/VincentyFormula.php#L63) is fulfilled.
The Geographical Datum is fetched from a script I created a while back and realized that I haven't updated these since day 1. In order to avoid devs having to...