Skip to content

Commit

Permalink
Update EPSG data
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Aug 14, 2023
1 parent 4f958e8 commit 7534804
Show file tree
Hide file tree
Showing 94 changed files with 7,269 additions and 1,344 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]
### Changed
- Updates to data for Australia, Canada, Netherlands, Portugal, South Korea and UK

## [5.5.0] - 2023-07-07
### 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 -->6884 different coordinate systems are supported, covering the entire globe. Some common systems supported include:
<!-- numOfCRS -->6937 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
32 changes: 0 additions & 32 deletions docs/reflection/coordinateoperation/coordinateoperationmethods.txt
Original file line number Diff line number Diff line change
Expand Up @@ -254,22 +254,6 @@ Geocentric/topocentric conversions
'urn:ogc:def:method:EPSG::9836'


Geog3D to Geog2D+Depth (Gravsoft)
---------------------------------
.. code-block:: php

CoordinateOperationMethods::EPSG_GEOG3D_TO_GEOG2D_PLUS_DEPTH_GRAVSOFT
'urn:ogc:def:method:EPSG::1110'


Geog3D to Geog2D+Depth (txt)
----------------------------
.. code-block:: php

CoordinateOperationMethods::EPSG_GEOG3D_TO_GEOG2D_PLUS_DEPTH_TXT
'urn:ogc:def:method:EPSG::1115'


Geog3D to Geog2D+GravityRelatedHeight (AUSGeoidv2)
--------------------------------------------------
.. code-block:: php
Expand Down Expand Up @@ -422,22 +406,6 @@ Geographic3D to 2D conversion
'urn:ogc:def:method:EPSG::9659'


Geographic3D to Depth (Gravsoft)
--------------------------------
.. code-block:: php

CoordinateOperationMethods::EPSG_GEOGRAPHIC3D_TO_DEPTH_GRAVSOFT
'urn:ogc:def:method:EPSG::1109'


Geographic3D to Depth (txt)
---------------------------
.. code-block:: php

CoordinateOperationMethods::EPSG_GEOGRAPHIC3D_TO_DEPTH_TXT
'urn:ogc:def:method:EPSG::1116'


Geographic3D to GravityRelatedHeight (AUSGeoid v2)
--------------------------------------------------
.. code-block:: php
Expand Down
272 changes: 228 additions & 44 deletions docs/reflection/coordinateoperation/geocentric.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5756,19 +5756,19 @@ to NAD83(CSRS)v7 (Geocentric)
$point->timeDependentPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V7),
xAxisTranslation: new Metre(1.0053),
yAxisTranslation: new Metre(-1.9092),
zAxisTranslation: new Metre(-0.5416),
xAxisRotation: new ArcSecond(-0.0267814),
yAxisRotation: new ArcSecond(0.0004203),
zAxisRotation: new ArcSecond(-0.0109321),
scaleDifference: new PartsPerBillion(0.37),
rateOfChangeOfXAxisTranslation: new Rate(new Metre(0.0008), new Year(1)),
yAxisTranslation: new Metre(-1.90921),
zAxisTranslation: new Metre(-0.54157),
xAxisRotation: new ArcSecond(-0.02678138),
yAxisRotation: new ArcSecond(0.00042027),
zAxisRotation: new ArcSecond(-0.01093206),
scaleDifference: new PartsPerBillion(0.36891),
rateOfChangeOfXAxisTranslation: new Rate(new Metre(0.00079), new Year(1)),
rateOfChangeOfYAxisTranslation: new Rate(new Metre(-0.0006), new Year(1)),
rateOfChangeOfZAxisTranslation: new Rate(new Metre(-0.0014), new Year(1)),
rateOfChangeOfXAxisRotation: new Rate(new ArcSecond(-6.67E-5), new Year(1)),
rateOfChangeOfYAxisRotation: new Rate(new ArcSecond(0.0007574), new Year(1)),
rateOfChangeOfZAxisRotation: new Rate(new ArcSecond(5.13E-5), new Year(1)),
rateOfChangeOfScaleDifference: new Rate(new PartsPerBillion(-0.07), new Year(1)),
rateOfChangeOfZAxisTranslation: new Rate(new Metre(-0.00144), new Year(1)),
rateOfChangeOfXAxisRotation: new Rate(new ArcSecond(-6.667E-5), new Year(1)),
rateOfChangeOfYAxisRotation: new Rate(new ArcSecond(0.00075744), new Year(1)),
rateOfChangeOfZAxisRotation: new Rate(new ArcSecond(5.133E-5), new Year(1)),
rateOfChangeOfScaleDifference: new Rate(new PartsPerBillion(-0.07201), new Year(1)),
parameterReferenceEpoch: new Year(2010)
)

Expand Down Expand Up @@ -6381,6 +6381,38 @@ to NAD83(2011) (Geocentric)
"


to NAD83(CSRS)v8 (Geocentric)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: ITRF2020 to NAD83(CSRS)v8 (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10415``
| Extent: Canada",".. code-block:: php

$point->timeDependentPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V8),
xAxisTranslation: new Metre(1.0039),
yAxisTranslation: new Metre(-1.90961),
zAxisTranslation: new Metre(-0.54117),
xAxisRotation: new ArcSecond(-0.02678138),
yAxisRotation: new ArcSecond(0.00042027),
zAxisRotation: new ArcSecond(-0.01093206),
scaleDifference: new PartsPerBillion(-0.05109),
rateOfChangeOfXAxisTranslation: new Rate(new Metre(0.00079), new Year(1)),
rateOfChangeOfYAxisTranslation: new Rate(new Metre(-0.0007), new Year(1)),
rateOfChangeOfZAxisTranslation: new Rate(new Metre(-0.00124), new Year(1)),
rateOfChangeOfXAxisRotation: new Rate(new ArcSecond(-6.667E-5), new Year(1)),
rateOfChangeOfYAxisRotation: new Rate(new ArcSecond(0.00075744), new Year(1)),
rateOfChangeOfZAxisRotation: new Rate(new ArcSecond(5.133E-5), new Year(1)),
rateOfChangeOfScaleDifference: new Rate(new PartsPerBillion(-0.07201), new Year(1)),
parameterReferenceEpoch: new Year(2010)
)

"


to NAD83(MA11) (Geocentric)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
Expand Down Expand Up @@ -8719,6 +8751,26 @@ to JGD2011 (Geographic3D)

"

KGD2002
-------
``Geocentric::fromSRID(Geocentric::EPSG_KGD2002)``

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

"| Name: geocentric to geographic3D
| Code: ``urn:ogc:def:coordinateOperation:EPSG::15592``
| Extent: World",".. code-block:: php

$point->geographicGeocentric(
to: Geographic3D::fromSRID(Geographic3D::EPSG_KGD2002)
)

"

KOSOVAREF01
-----------
``Geocentric::fromSRID(Geocentric::EPSG_KOSOVAREF01)``
Expand Down Expand Up @@ -8791,26 +8843,6 @@ to KSA-GRF17 (Geographic3D)

"

Korea 2000
----------
``Geocentric::fromSRID(Geocentric::EPSG_KOREA_2000)``

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

"| Name: geocentric to geographic3D
| Code: ``urn:ogc:def:coordinateOperation:EPSG::15592``
| Extent: World",".. code-block:: php

$point->geographicGeocentric(
to: Geographic3D::fromSRID(Geographic3D::EPSG_KOREA_2000)
)

"

Kyrg-06
-------
``Geocentric::fromSRID(Geocentric::EPSG_KYRG_06)``
Expand Down Expand Up @@ -9372,6 +9404,56 @@ to NAD83(CSRS)v6 (Geocentric)

"


to NAD83(CSRS)v7 (Geocentric)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: NAD83(CSRS)v7 to NAD83(2011) (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10416``
| Extent: North America - Canada, US (Conus+AK), PRVI",".. code-block:: php

$point->timeSpecificPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V7),
xAxisTranslation: new Metre(-0),
yAxisTranslation: new Metre(-0),
zAxisTranslation: new Metre(-0),
xAxisRotation: new ArcSecond(-0),
yAxisRotation: new ArcSecond(-0),
zAxisRotation: new ArcSecond(-0),
scaleDifference: new PartsPerBillion(-0),
transformationReferenceEpoch: new Year(2010)
)

"


to NAD83(CSRS)v8 (Geocentric)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: NAD83(CSRS)v8 to NAD83(2011) (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10419``
| Extent: North America - Canada, US (Conus+AK), PRVI",".. code-block:: php

$point->timeSpecificPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V8),
xAxisTranslation: new Metre(-0),
yAxisTranslation: new Metre(-0),
zAxisTranslation: new Metre(-0),
xAxisRotation: new ArcSecond(-0),
yAxisRotation: new ArcSecond(-0),
zAxisRotation: new ArcSecond(-0),
scaleDifference: new PartsPerBillion(-0),
transformationReferenceEpoch: new Year(2010)
)

"

NAD83(CORS96)
-------------
``Geocentric::fromSRID(Geocentric::EPSG_NAD83_CORS96)``
Expand Down Expand Up @@ -9960,25 +10042,50 @@ to ITRF2014 (Geocentric)
$point->timeDependentPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_ITRF2014),
xAxisTranslation: new Metre(-1.0053),
yAxisTranslation: new Metre(1.9092),
zAxisTranslation: new Metre(0.5416),
xAxisRotation: new ArcSecond(0.0267814),
yAxisRotation: new ArcSecond(-0.0004203),
zAxisRotation: new ArcSecond(0.0109321),
scaleDifference: new PartsPerBillion(-0.37),
rateOfChangeOfXAxisTranslation: new Rate(new Metre(-0.0008), new Year(1)),
yAxisTranslation: new Metre(1.90921),
zAxisTranslation: new Metre(0.54157),
xAxisRotation: new ArcSecond(0.02678138),
yAxisRotation: new ArcSecond(-0.00042027),
zAxisRotation: new ArcSecond(0.01093206),
scaleDifference: new PartsPerBillion(-0.36891),
rateOfChangeOfXAxisTranslation: new Rate(new Metre(-0.00079), new Year(1)),
rateOfChangeOfYAxisTranslation: new Rate(new Metre(0.0006), new Year(1)),
rateOfChangeOfZAxisTranslation: new Rate(new Metre(0.0014), new Year(1)),
rateOfChangeOfXAxisRotation: new Rate(new ArcSecond(6.67E-5), new Year(1)),
rateOfChangeOfYAxisRotation: new Rate(new ArcSecond(-0.0007574), new Year(1)),
rateOfChangeOfZAxisRotation: new Rate(new ArcSecond(-5.13E-5), new Year(1)),
rateOfChangeOfScaleDifference: new Rate(new PartsPerBillion(0.07), new Year(1)),
rateOfChangeOfZAxisTranslation: new Rate(new Metre(0.00144), new Year(1)),
rateOfChangeOfXAxisRotation: new Rate(new ArcSecond(6.667E-5), new Year(1)),
rateOfChangeOfYAxisRotation: new Rate(new ArcSecond(-0.00075744), new Year(1)),
rateOfChangeOfZAxisRotation: new Rate(new ArcSecond(-5.133E-5), new Year(1)),
rateOfChangeOfScaleDifference: new Rate(new PartsPerBillion(0.07201), new Year(1)),
parameterReferenceEpoch: new Year(2010)
)

"


to NAD83(2011) (Geocentric)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: NAD83(CSRS)v7 to NAD83(2011) (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10416``
| Extent: North America - Canada, US (Conus+AK), PRVI",".. code-block:: php

$point->timeSpecificPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_2011),
xAxisTranslation: new Metre(0),
yAxisTranslation: new Metre(0),
zAxisTranslation: new Metre(0),
xAxisRotation: new ArcSecond(0),
yAxisRotation: new ArcSecond(0),
zAxisRotation: new ArcSecond(0),
scaleDifference: new PartsPerBillion(0),
transformationReferenceEpoch: new Year(2010)
)

"


to NAD83(CSRS)v7 (Geographic3D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
Expand All @@ -9995,6 +10102,83 @@ to NAD83(CSRS)v7 (Geographic3D)

"

NAD83(CSRS)v8
-------------
``Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V8)``

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

"| Name: ITRF2020 to NAD83(CSRS)v8 (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10415``
| Extent: Canada",".. code-block:: php

$point->timeDependentPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_ITRF2020),
xAxisTranslation: new Metre(-1.0039),
yAxisTranslation: new Metre(1.90961),
zAxisTranslation: new Metre(0.54117),
xAxisRotation: new ArcSecond(0.02678138),
yAxisRotation: new ArcSecond(-0.00042027),
zAxisRotation: new ArcSecond(0.01093206),
scaleDifference: new PartsPerBillion(0.05109),
rateOfChangeOfXAxisTranslation: new Rate(new Metre(-0.00079), new Year(1)),
rateOfChangeOfYAxisTranslation: new Rate(new Metre(0.0007), new Year(1)),
rateOfChangeOfZAxisTranslation: new Rate(new Metre(0.00124), new Year(1)),
rateOfChangeOfXAxisRotation: new Rate(new ArcSecond(6.667E-5), new Year(1)),
rateOfChangeOfYAxisRotation: new Rate(new ArcSecond(-0.00075744), new Year(1)),
rateOfChangeOfZAxisRotation: new Rate(new ArcSecond(-5.133E-5), new Year(1)),
rateOfChangeOfScaleDifference: new Rate(new PartsPerBillion(0.07201), new Year(1)),
parameterReferenceEpoch: new Year(2010)
)

"


to NAD83(2011) (Geocentric)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "EPSG", "PHPCoord"
:widths: 40, 60

"| Name: NAD83(CSRS)v8 to NAD83(2011) (1)
| Code: ``urn:ogc:def:coordinateOperation:EPSG::10419``
| Extent: North America - Canada, US (Conus+AK), PRVI",".. code-block:: php

$point->timeSpecificPositionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_2011),
xAxisTranslation: new Metre(0),
yAxisTranslation: new Metre(0),
zAxisTranslation: new Metre(0),
xAxisRotation: new ArcSecond(0),
yAxisRotation: new ArcSecond(0),
zAxisRotation: new ArcSecond(0),
scaleDifference: new PartsPerBillion(0),
transformationReferenceEpoch: new Year(2010)
)

"


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

"| Name: geocentric to geographic3D
| Code: ``urn:ogc:def:coordinateOperation:EPSG::15592``
| Extent: World",".. code-block:: php

$point->geographicGeocentric(
to: Geographic3D::fromSRID(Geographic3D::EPSG_NAD83_CSRS_V8)
)

"

NAD83(CSRS96)
-------------
``Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS96)``
Expand Down
Loading

0 comments on commit 7534804

Please sign in to comment.