A PHP library for performing geographical calculations
Pull request Compare This branch is 9 commits behind treffynnon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
lib/Treffynnon
tests
.gitignore
.travis.yml
LICENCE.rst
README.rst
composer.json

README.rst

Navigator

Flattr this git repo Build Status Maintenance status

A PHP library for geographic calculations:

  • Calculate the distance between two coordinate points on the earth's surface (using Vincenty, Haversine, Great Circle or The Cosine Law)
  • Conversion between units (metres to kilometres, nautical miles and miles).
  • Convert coordinate notation (decimals to degrees, minutes & seconds and back again).

This is an improved (PHP5.3+) and tested version of Geographic Calculations in PHP.

For more information and documentation please see the documentation.

Licence

This library is under a permissive BSD 2-Clause License.