/great-circle-distance

Laravel 8 helper methods to return the distance between two pairs of Latitude/Longitude points on a great circle with the Haversine and Vincenty formulae

Primary LanguagePHP

Great Circle Distance

Laravel 8 implementation includes 'helper' methods to return the distance between two pairs of Latitude/Longitude points on a great circle with the Haversine and Vincenty formulae.

The distance unit returned will be the same unit as the planetary body radius given. Default: meters.

Also contains helper methods to calculate the azimuth and distance between two poles.