Skip to content

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points

License

Notifications You must be signed in to change notification settings

dvdoug/PHPCoord

Repository files navigation

PHPCoord

Build Status Download count Current version Documentation

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

6996 different coordinate systems are supported, covering the entire globe. Some common systems supported include:
  • WGS84 (GPS)
  • OSGB36 (Great Britain)
  • NAD27 and NAD83 (North America)
  • UTM (Universal Transverse Mercator)
  • ED50 and ETRS89 (Europe)
  • GDA94 and GDA2020 (Australia)
  • NZGD49 and NZGD2000 (New Zealand)

Documentation

Documentation and usage examples are available here.

Installation

If you use Composer, just add php-coord/php-coord to your project's composer.json file:

    composer require php-coord/php-coord

Otherwise, the library is PSR-4 compliant, so will work with the autoloader of your choice.

About

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages