Skip to content

Commit

Permalink
Update EPSG data
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Jul 7, 2023
1 parent 1ed5445 commit 824306e
Show file tree
Hide file tree
Showing 79 changed files with 2,912 additions and 1,142 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Changelog

## [Unreleased]
### Added
- Support for Lambert Cylindrical Equal Area (Spherical) projection
### Changed
- Infer a current epoch when doing time-dependant transforms and no explicit epoch is supplied
- Updates to data for Polar regions, Algeria and Spain

## [5.4.0] - 2023-05-27
### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ 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.

<!-- numOfCRS -->6871 different coordinate systems are supported, covering the entire globe. Some common systems supported include:
<!-- numOfCRS -->6884 different coordinate systems are supported, covering the entire globe. Some common systems supported include:
- WGS84 (GPS)
- OSGB36 (Great Britain)
- NAD27 and NAD83 (North America)
Expand Down
69 changes: 66 additions & 3 deletions docs/reflection/coordinateoperation/compound.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ to ETRF2000-PL (Geographic3D)
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: ETRF2000-PL to ETRF2000-PL + EVRF2007-PL height (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::9720``
"| Name: ETRF2000-PL to ETRF2000-PL + EVRF2007-PL height (2)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10348``
| Extent: Poland - onshore",".. code-block:: php

$point->geographic3DTo2DPlusGravityHeightFromGrid(
Expand All @@ -40,6 +40,27 @@ to ETRF2000-PL (Geographic3D)

"

ETRS89 + Alboran height
-----------------------
``Compound::fromSRID(Compound::EPSG_ETRS89_PLUS_ALBORAN_HEIGHT)``

to ETRS89 (Geographic3D)
^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: ETRS89 to ETRS89 + Alboran height (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10361``
| Extent: Spain - Alboran",".. code-block:: php

$point->geographic3DTo2DPlusGravityHeightFromGrid(
to: Geographic3D::fromSRID(Geographic3D::EPSG_ETRS89),
geoidHeightCorrectionModelFile: IGNESHeightETRS89REDNAPSpainProvider->provideGrid()
)

"

ETRS89 + Alicante height
------------------------
``Compound::fromSRID(Compound::EPSG_ETRS89_PLUS_ALICANTE_HEIGHT)``
Expand Down Expand Up @@ -228,6 +249,27 @@ to ETRS89 (Geographic3D)

"

ETRS89 + Formentera height
--------------------------
``Compound::fromSRID(Compound::EPSG_ETRS89_PLUS_FORMENTERA_HEIGHT)``

to ETRS89 (Geographic3D)
^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: ETRS89 to ETRS89 + Formentera height (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10359``
| Extent: Spain - Balearic Islands - Formentera",".. code-block:: php

$point->geographic3DTo2DPlusGravityHeightFromGrid(
to: Geographic3D::fromSRID(Geographic3D::EPSG_ETRS89),
geoidHeightCorrectionModelFile: IGNESHeightETRS89REDNAPSpainProvider->provideGrid()
)

"

ETRS89 + Ibiza height
---------------------
``Compound::fromSRID(Compound::EPSG_ETRS89_PLUS_IBIZA_HEIGHT)``
Expand All @@ -240,7 +282,7 @@ to ETRS89 (Geographic3D)

"| Name: ETRS89 to ETRS89 + Ibiza height (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::9607``
| Extent: Spain - Balearic Islands - Ibiza and Formentera",".. code-block:: php
| Extent: Spain - Balearic Islands - Ibiza",".. code-block:: php

$point->geographic3DTo2DPlusGravityHeightFromGrid(
to: Geographic3D::fromSRID(Geographic3D::EPSG_ETRS89),
Expand Down Expand Up @@ -312,6 +354,27 @@ to ETRS89 (Geographic3D)

"

ETRS89 + Melilla height
-----------------------
``Compound::fromSRID(Compound::EPSG_ETRS89_PLUS_MELILLA_HEIGHT)``

to ETRS89 (Geographic3D)
^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: ETRS89 to ETRS89 + Melilla height (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10363``
| Extent: Spain - Melilla",".. code-block:: php

$point->geographic3DTo2DPlusGravityHeightFromGrid(
to: Geographic3D::fromSRID(Geographic3D::EPSG_ETRS89),
geoidHeightCorrectionModelFile: IGNESHeightETRS89REDNAPSpainProvider->provideGrid()
)

"

ETRS89 + Menorca height
-----------------------
``Compound::fromSRID(Compound::EPSG_ETRS89_PLUS_MENORCA_HEIGHT)``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ Equal Earth
'urn:ogc:def:method:EPSG::1078'


Equidistant Conic
-----------------
.. code-block:: php

CoordinateOperationMethods::EPSG_EQUIDISTANT_CONIC
'urn:ogc:def:method:EPSG::1119'


Equidistant Cylindrical
-----------------------
.. code-block:: php
Expand Down
Loading

0 comments on commit 824306e

Please sign in to comment.