Skip to content

Commit

Permalink
Update EPSG data
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Jan 21, 2024
1 parent 4e8d738 commit 51829a2
Show file tree
Hide file tree
Showing 40 changed files with 1,042 additions and 170 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [Unreleased]
### Changed
- Updates to data for Denmark and France
- Updates to data for Canada, Denmark, France, Germany and USA
- More aggressive buffering of extent polygons

## [5.6.0] - 2023-09-30
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 -->6954 different coordinate systems are supported, covering the entire globe. Some common systems supported include:
<!-- numOfCRS -->6958 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
Original file line number Diff line number Diff line change
Expand Up @@ -1118,14 +1118,6 @@ Vertical Offset by Grid Interpolation (BEV AT)
'urn:ogc:def:method:EPSG::1080'


Vertical Offset by Grid Interpolation (NRCan byn)
-------------------------------------------------
.. code-block:: php

CoordinateOperationMethods::EPSG_VERTICAL_OFFSET_BY_GRID_INTERPOLATION_NRCAN_BYN
'urn:ogc:def:method:EPSG::1112'


Vertical Offset by Grid Interpolation (NZLVD)
---------------------------------------------
.. code-block:: php
Expand Down Expand Up @@ -1182,6 +1174,14 @@ Vertical Perspective (Orthographic case)
'urn:ogc:def:method:EPSG::9839'


Vertical change by geoid grid difference (NRCan)
------------------------------------------------
.. code-block:: php

CoordinateOperationMethods::EPSG_VERTICAL_CHANGE_BY_GEOID_GRID_DIFFERENCE_NRCAN
'urn:ogc:def:method:EPSG::1126'


Zero-tide height to mean-tide height (EVRF2019)
-----------------------------------------------
.. code-block:: php
Expand Down
192 changes: 192 additions & 0 deletions docs/reflection/coordinateoperation/geocentric.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9755,6 +9755,30 @@ to NAD83(CSRS)v2 (Geographic3D)

"


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

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

$point->positionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V3),
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)
)

"

NAD83(CSRS)v3
-------------
``Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V3)``
Expand Down Expand Up @@ -9815,6 +9839,30 @@ to NAD83(CORS96) (Geocentric)
"


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

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

$point->positionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V2),
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)
)

"


to NAD83(CSRS)v3 (Geographic3D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
Expand Down Expand Up @@ -10035,6 +10083,54 @@ to NAD83(CSRS)v6 (Geographic3D)

"


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

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

$point->positionVectorTransformation(
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)
)

"


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

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

$point->positionVectorTransformation(
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)
)

"

NAD83(CSRS)v7
-------------
``Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V7)``
Expand Down Expand Up @@ -10095,6 +10191,30 @@ to NAD83(2011) (Geocentric)
"


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

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

$point->positionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V6),
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)
)

"


to NAD83(CSRS)v7 (Geographic3D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
Expand All @@ -10111,6 +10231,30 @@ to NAD83(CSRS)v7 (Geographic3D)

"


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

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

$point->positionVectorTransformation(
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)
)

"

NAD83(CSRS)v8
-------------
``Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V8)``
Expand Down Expand Up @@ -10171,6 +10315,54 @@ to NAD83(2011) (Geocentric)
"


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

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

$point->positionVectorTransformation(
to: Geocentric::fromSRID(Geocentric::EPSG_NAD83_CSRS_V6),
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)
)

"


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

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

$point->positionVectorTransformation(
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)
)

"


to NAD83(CSRS)v8 (Geographic3D)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
Expand Down

0 comments on commit 51829a2

Please sign in to comment.