Welcome to PHPCoord’s 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.

6000+ different coordinate systems are supported, covering the entire globe. 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)

License

PHPCoord code is licensed under the MIT license. It uses the EPSG dataset which is made available under the EPSG license. See license.txt for full details.