https://github.com/dvdoug/phpcoord
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
https://github.com/dvdoug/phpcoord
conversion epsg geo grid-references latitude longitude map php projection
Last synced: 11 months ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/dvdoug/phpcoord
- Owner: dvdoug
- License: other
- Created: 2014-01-23T21:01:27.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-01-31T21:41:49.000Z (about 1 year ago)
- Last Synced: 2025-05-15T22:12:12.374Z (11 months ago)
- Topics: conversion, epsg, geo, grid-references, latitude, longitude, map, php, projection
- Language: PHP
- Homepage: https://www.phpcoord.net
- Size: 124 MB
- Stars: 104
- Watchers: 11
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: license.txt
Awesome Lists containing this project
README
PHPCoord
========
[](https://github.com/dvdoug/PHPCoord/actions?query=workflow%3ACI+branch%3Amaster)
[](https://packagist.org/packages/php-coord/php-coord)
[](https://packagist.org/packages/php-coord/php-coord)
[](https://phpcoord.net/en/stable/)
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.
6999 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](https://phpcoord.net/en/stable/).
Installation
------------
If you use [Composer](http://getcomposer.org/), 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.