From f13449ba9f36fef032fca90c4274ab86ea32c49c Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Wed, 28 Aug 2024 22:56:10 +0100 Subject: [PATCH] Update EPSG data --- CHANGELOG.md | 7 ++- README.md | 2 +- .../coordinateoperationmethods.txt | 16 +++++++ .../coordinatereferencesystem/compound.txt | 24 ++++++++++ .../geographic2d.txt | 29 ++++++------ .../coordinatereferencesystem/projected.txt | 45 ++++++++++++------- docs/reflection/datum/datum.txt | 2 + docs/reflection/numOfCRS.txt | 2 +- .../CRSTransformationsEurope.php | 2 +- .../CRSTransformationsSouthAmerica.php | 7 +++ .../CoordinateOperationMethods.php | 35 +++++++++++++++ .../CoordinateOperations.php | 36 ++++++++------- src/CoordinateOperation/Params/EPSG10664.php | 16 +++++++ src/CoordinateReferenceSystem/Compound.php | 12 +++++ .../CompoundSRIDData.php | 18 ++++++++ .../Geographic2D.php | 18 +++++--- .../Geographic2DSRIDData.php | 4 +- src/CoordinateReferenceSystem/Projected81.php | 37 ++++++++++----- .../ProjectedConstantsChunk1.php | 27 ++++++----- .../ProjectedConstantsChunk3.php | 2 +- .../ProjectedConstantsChunk4.php | 8 ++++ .../ProjectedSRIDData.php | 23 +++++++--- src/Datum/Datum.php | 3 +- src/EPSG/Import/EPSGCodegenFromDataImport.php | 2 + .../Extents/BoundingBoxOnly/4777.json | 10 +++++ src/Geometry/RegionMap.php | 1 + .../ASCII/GIGS_lib_2205_GeodeticCRS.txt | 2 +- 27 files changed, 300 insertions(+), 90 deletions(-) create mode 100644 src/CoordinateOperation/Params/EPSG10664.php create mode 100644 src/Geometry/Extents/BoundingBoxOnly/4777.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b4a2d919..73e8edcd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +## [5.10.1] - 2024-09-24 +### Fixed +- Compatibility with opcache preloading + ## [5.10.0] - 2024-08-23 ### Added - Added a new method `isWithinCRSBoundingArea()` on most `Point` objects to check if they lie within the bounds @@ -345,8 +349,9 @@ Initial release of this fork (based off of v2.3 of original) - Eastings and northings are rounded to 1m, and lat/long to 5dp (approx 1m) to avoid any misconceptions that precision is the same thing as accuracy. - When calculating surface distances, a more accurate mean radius is now used rather than that derived from historical definitions of a nautical mile -[Unreleased]: https://github.com/dvdoug/PHPCoord/compare/v5.10.0..master +[Unreleased]: https://github.com/dvdoug/PHPCoord/compare/v5.10.1..master +[5.10.1]: https://github.com/dvdoug/PHPCoord/compare/v5.10.0..v5.10.1 [5.10.0]: https://github.com/dvdoug/PHPCoord/compare/v5.9.2..v5.10.0 [5.9.2]: https://github.com/dvdoug/PHPCoord/compare/v5.9.1..v5.9.2 [5.9.1]: https://github.com/dvdoug/PHPCoord/compare/v5.9.0..v5.9.1 diff --git a/README.md b/README.md index 4f786ff22..77ce176f7 100644 --- a/README.md +++ b/README.md @@ -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. -6993 different coordinate systems are supported, covering the entire globe. Some common systems supported include: +6996 different coordinate systems are supported, covering the entire globe. Some common systems supported include: - WGS84 (GPS) - OSGB36 (Great Britain) - NAD27 and NAD83 (North America) diff --git a/docs/reflection/coordinateoperation/coordinateoperationmethods.txt b/docs/reflection/coordinateoperation/coordinateoperationmethods.txt index 5fb763cc7..65f5cc16a 100644 --- a/docs/reflection/coordinateoperation/coordinateoperationmethods.txt +++ b/docs/reflection/coordinateoperation/coordinateoperationmethods.txt @@ -310,6 +310,14 @@ Geog3D to Geog2D+GravityRelatedHeight (ITAL2005) 'urn:ogc:def:method:EPSG::1105' +Geog3D to Geog2D+GravityRelatedHeight (NGS bin) +----------------------------------------------- +.. code-block:: php + + CoordinateOperationMethods::EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_NGS_BIN + 'urn:ogc:def:method:EPSG::1135' + + Geog3D to Geog2D+GravityRelatedHeight (NRCan byn) ------------------------------------------------- .. code-block:: php @@ -462,6 +470,14 @@ Geographic3D to GravityRelatedHeight (ITAL2005) 'urn:ogc:def:method:EPSG::1106' +Geographic3D to GravityRelatedHeight (NGS bin) +---------------------------------------------- +.. code-block:: php + + CoordinateOperationMethods::EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_NGS_BIN + 'urn:ogc:def:method:EPSG::1134' + + Geographic3D to GravityRelatedHeight (NRCan byn) ------------------------------------------------ .. code-block:: php diff --git a/docs/reflection/coordinatereferencesystem/compound.txt b/docs/reflection/coordinatereferencesystem/compound.txt index a5b149104..6c992216c 100644 --- a/docs/reflection/coordinatereferencesystem/compound.txt +++ b/docs/reflection/coordinatereferencesystem/compound.txt @@ -355,6 +355,18 @@ EOS21 Grid + ODN height CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::9742') +ETRF2000 + EOMA 1980 height +--------------------------- +| Extent: Hungary + +.. code-block:: php + + Compound::fromSRID(Compound::EPSG_ETRF2000_PLUS_EOMA_1980_HEIGHT) + Compound::fromSRID('urn:ogc:def:crs:EPSG::10659') + CoordinateReferenceSystem::fromSRID(Compound::EPSG_ETRF2000_PLUS_EOMA_1980_HEIGHT) + CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::10659') + + ETRF2000-PL + Baltic 1986 height -------------------------------- | Extent: Poland - onshore @@ -2137,6 +2149,18 @@ GWWWA22 Grid + ODN height CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::10223') +HD72 / EOV + EOMA 1980 height +----------------------------- +| Extent: Hungary + +.. code-block:: php + + Compound::fromSRID(Compound::EPSG_HD72_EOV_PLUS_EOMA_1980_HEIGHT) + Compound::fromSRID('urn:ogc:def:crs:EPSG::10660') + CoordinateReferenceSystem::fromSRID(Compound::EPSG_HD72_EOV_PLUS_EOMA_1980_HEIGHT) + CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::10660') + + HS2 Survey Grid + HS2-VRF height -------------------------------- | Extent: UK - HS2 phases 1 and 2a railway corridor from London to Birmingham, Lichfield and Crewe diff --git a/docs/reflection/coordinatereferencesystem/geographic2d.txt b/docs/reflection/coordinatereferencesystem/geographic2d.txt index 68da9cb1c..7996f2e6f 100644 --- a/docs/reflection/coordinatereferencesystem/geographic2d.txt +++ b/docs/reflection/coordinatereferencesystem/geographic2d.txt @@ -662,20 +662,6 @@ Bermuda 1957 Replaced by BDA2000 (CRS code 4762). -Bern 1898 (Bern) ----------------- -| Extent: Liechtenstein; Switzerland - -.. code-block:: php - - Geographic2D::fromSRID(Geographic2D::EPSG_BERN_1898_BERN) - Geographic2D::fromSRID('urn:ogc:def:crs:EPSG::4801') - Geographic::fromSRID(Geographic2D::EPSG_BERN_1898_BERN) - Geographic::fromSRID('urn:ogc:def:crs:EPSG::4801') - CoordinateReferenceSystem::fromSRID(Geographic2D::EPSG_BERN_1898_BERN) - CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::4801') - - Bern 1938 --------- | Extent: Liechtenstein; Switzerland @@ -793,6 +779,21 @@ CH1903 Replaced by CH1903+. +CH1903 (Bern) +------------- +| Extent: Liechtenstein; Switzerland + +.. code-block:: php + + Geographic2D::fromSRID(Geographic2D::EPSG_CH1903_BERN) + Geographic2D::fromSRID('urn:ogc:def:crs:EPSG::4801') + Geographic::fromSRID(Geographic2D::EPSG_CH1903_BERN) + Geographic::fromSRID('urn:ogc:def:crs:EPSG::4801') + CoordinateReferenceSystem::fromSRID(Geographic2D::EPSG_CH1903_BERN) + CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::4801') + +Replaced by CH1903 (CRS code 4149). + CH1903+ ------- | Extent: Liechtenstein; Switzerland diff --git a/docs/reflection/coordinatereferencesystem/projected.txt b/docs/reflection/coordinatereferencesystem/projected.txt index 6c11c8bb3..776976cc0 100644 --- a/docs/reflection/coordinatereferencesystem/projected.txt +++ b/docs/reflection/coordinatereferencesystem/projected.txt @@ -2012,19 +2012,6 @@ Bermuda 1957 / UTM zone 20N Replaced by BDA2000 / Bermuda 2000 National Grid (alias BNG2000) (CRS code 3770). -Bern 1898 (Bern) / LV03C ------------------------- -| Extent: Liechtenstein; Switzerland - -.. code-block:: php - - Projected::fromSRID(Projected::EPSG_BERN_1898_BERN_LV03C) - Projected::fromSRID('urn:ogc:def:crs:EPSG::21780') - CoordinateReferenceSystem::fromSRID(Projected::EPSG_BERN_1898_BERN_LV03C) - CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::21780') - -In Switzerland, replaced by CH1903 / LV03 (CRS code 21781). For use in Liechtenstein may be implemented through Greenwich based equivalent CRS code 21782. - Bissau / UTM zone 28N --------------------- | Extent: Guinea-Bissau - onshore @@ -2945,6 +2932,19 @@ CGRS93 / Cyprus Local Transverse Mercator CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::6312') +CH1903 (Bern) / LV03C +--------------------- +| Extent: Liechtenstein; Switzerland + +.. code-block:: php + + Projected::fromSRID(Projected::EPSG_CH1903_BERN_LV03C) + Projected::fromSRID('urn:ogc:def:crs:EPSG::21780') + CoordinateReferenceSystem::fromSRID(Projected::EPSG_CH1903_BERN_LV03C) + CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::21780') + +In Switzerland, replaced by CH1903 / LV03 (CRS code 21781). For use in Liechtenstein may be implemented through Greenwich based equivalent CRS code 21782. + CH1903 / LV03 ------------- | Extent: Liechtenstein; Switzerland @@ -11236,7 +11236,7 @@ See Gulshan 303 / TM 90 NE (CRS code 3106) for topographic mapping and offshore Gulshan 303 / TM 90 NE ---------------------- -| Extent: Bangladesh, Bangladesh - onshore +| Extent: Bangladesh - onshore, Bangladesh .. code-block:: php @@ -15809,7 +15809,7 @@ Introduced in 1924. In Croatia replaced by HTRS96 / Croatia TM (CRS code 3765). MGI 1901 / Balkans zone 7 ------------------------- -| Extent: North Macedonia, Bosnia and Herzegovina - east of 19°30'E; Kosovo; Montenegro - east of 19°30'E; Serbia - between 19°30'E and 22°30'E +| Extent: Bosnia and Herzegovina - east of 19°30'E; Kosovo; Montenegro - east of 19°30'E; Serbia - between 19°30'E and 22°30'E, North Macedonia .. code-block:: php @@ -34104,7 +34104,7 @@ Adopted by the Canadian federal government in 1998 and the provincial government NAD83(CSRS)v2 / UTM zone 13N ---------------------------- -| Extent: Canada - Saskatchewan, Canada between 108°W and 102°W - Northwest Territories, Nunavut, Saskatchewan +| Extent: Canada between 108°W and 102°W - Northwest Territories, Nunavut, Saskatchewan, Canada - Saskatchewan .. code-block:: php @@ -55496,6 +55496,19 @@ SIRGAS 2000 / Brazil Polyconic Replaces SAD69 / Brazil Polyconic (CRS code 29101) and SAD69(96) / Brazil Polyconic (CRS code 5530). +SIRGAS 2000 / Porto Alegre TM +----------------------------- +| Extent: Brazil - Porto Alegre municipality + +.. code-block:: php + + Projected::fromSRID(Projected::EPSG_SIRGAS_2000_PORTO_ALEGRE_TM) + Projected::fromSRID('urn:ogc:def:crs:EPSG::10665') + CoordinateReferenceSystem::fromSRID(Projected::EPSG_SIRGAS_2000_PORTO_ALEGRE_TM) + CoordinateReferenceSystem::fromSRID('urn:ogc:def:crs:EPSG::10665') + +Replaces the Porto Alegre Gauss-Kruger Cartographic Reference System of the Brazilian General Chart Commission (SCR-CCG) from 2013-06-20. + SIRGAS 2000 / UTM zone 11N -------------------------- | Extent: Latin America between 120°W and 114°W, northern hemisphere diff --git a/docs/reflection/datum/datum.txt b/docs/reflection/datum/datum.txt index 404cc51d2..06c8fcc22 100644 --- a/docs/reflection/datum/datum.txt +++ b/docs/reflection/datum/datum.txt @@ -1931,6 +1931,8 @@ Deutsche Bahn Reference System Defined by transformation from ETRS89 (transformation code 5826) to be an average of DHDN realizations across all German states. +In DB_REF2016 only the vertical CRS component is updated, the geodetic CRS component of DB_REF is unchanged. + Deutsches Hauptdreiecksnetz --------------------------- | Type: Geodetic diff --git a/docs/reflection/numOfCRS.txt b/docs/reflection/numOfCRS.txt index 12f452158..5db899167 100644 --- a/docs/reflection/numOfCRS.txt +++ b/docs/reflection/numOfCRS.txt @@ -1 +1 @@ -.. |numOfCRS| replace:: 6993 \ No newline at end of file +.. |numOfCRS| replace:: 6996 \ No newline at end of file diff --git a/src/CoordinateOperation/CRSTransformationsEurope.php b/src/CoordinateOperation/CRSTransformationsEurope.php index f6e56d3a1..7063376df 100644 --- a/src/CoordinateOperation/CRSTransformationsEurope.php +++ b/src/CoordinateOperation/CRSTransformationsEurope.php @@ -3359,7 +3359,7 @@ class CRSTransformationsEurope ], [ 'operation' => 'urn:ogc:def:coordinateOperation:EPSG::1765', - 'name' => 'Bern 1898 (Bern) to CH1903 (1)', + 'name' => 'CH1903 (Bern) to CH1903 (1)', 'source_crs' => 'urn:ogc:def:crs:EPSG::4801', 'target_crs' => 'urn:ogc:def:crs:EPSG::4149', 'accuracy' => 0.0, diff --git a/src/CoordinateOperation/CRSTransformationsSouthAmerica.php b/src/CoordinateOperation/CRSTransformationsSouthAmerica.php index bd52471ad..0938c08a6 100644 --- a/src/CoordinateOperation/CRSTransformationsSouthAmerica.php +++ b/src/CoordinateOperation/CRSTransformationsSouthAmerica.php @@ -1131,6 +1131,13 @@ class CRSTransformationsSouthAmerica 'target_crs' => 'urn:ogc:def:crs:EPSG::4326', 'accuracy' => 1.0, ], + [ + 'operation' => 'urn:ogc:def:coordinateOperation:EPSG::10664', + 'name' => 'Porto Alegre Transverse Mercator', + 'source_crs' => 'urn:ogc:def:crs:EPSG::4674', + 'target_crs' => 'urn:ogc:def:crs:EPSG::10665', + 'accuracy' => 0, + ], [ 'operation' => 'urn:ogc:def:coordinateOperation:EPSG::15894', 'name' => 'SIRGAS 2000 to WGS 84 (1)', diff --git a/src/CoordinateOperation/CoordinateOperationMethods.php b/src/CoordinateOperation/CoordinateOperationMethods.php index 3f0d6df88..1212d010a 100644 --- a/src/CoordinateOperation/CoordinateOperationMethods.php +++ b/src/CoordinateOperation/CoordinateOperationMethods.php @@ -206,6 +206,11 @@ class CoordinateOperationMethods */ public const EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_ITAL2005 = 'urn:ogc:def:method:EPSG::1105'; + /** + * Geog3D to Geog2D+GravityRelatedHeight (NGS bin). + */ + public const EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_NGS_BIN = 'urn:ogc:def:method:EPSG::1135'; + /** * Geog3D to Geog2D+GravityRelatedHeight (NRCan byn). */ @@ -301,6 +306,11 @@ class CoordinateOperationMethods */ public const EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_ITAL2005 = 'urn:ogc:def:method:EPSG::1106'; + /** + * Geographic3D to GravityRelatedHeight (NGS bin). + */ + public const EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_NGS_BIN = 'urn:ogc:def:method:EPSG::1134'; + /** * Geographic3D to GravityRelatedHeight (NRCan byn). */ @@ -2420,6 +2430,29 @@ class CoordinateOperationMethods ], 'help' => '', ], + 'urn:ogc:def:method:EPSG::1134' => [ + 'name' => 'Geographic3D to GravityRelatedHeight (NGS bin)', + 'reversible' => false, + 'paramData' => [ + 'geoidHeightCorrectionModelFile' => [ + 'reverses' => false, + ], + ], + 'help' => '', + ], + 'urn:ogc:def:method:EPSG::1135' => [ + 'name' => 'Geog3D to Geog2D+GravityRelatedHeight (NGS bin)', + 'reversible' => true, + 'paramData' => [ + 'geoidHeightCorrectionModelFile' => [ + 'reverses' => true, + ], + 'EPSGCodeForInterpolationCRS' => [ + 'reverses' => false, + ], + ], + 'help' => '', + ], 'urn:ogc:def:method:EPSG::9601' => [ 'name' => 'Longitude rotation', 'reversible' => true, @@ -4621,6 +4654,8 @@ class CoordinateOperationMethods self::EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_GTX => 'geographic3DTo2DPlusGravityHeightFromGrid', self::EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_GTX => 'geographic3DToGravityHeightFromGrid', self::EPSG_VERTICAL_OFFSET_BY_GRID_INTERPOLATION_GTX => 'offsetFromGrid', + self::EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_NGS_BIN => 'geographic3DToGravityHeightFromGrid', + self::EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_NGS_BIN => 'geographic3DTo2DPlusGravityHeightFromGrid', self::EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_IGN2009 => 'geographic3DTo2DPlusGravityHeightFromGrid', self::EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_IGN2009 => 'geographic3DToGravityHeightFromGrid', self::EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_EGM2008 => 'geographic3DTo2DPlusGravityHeightFromGrid', diff --git a/src/CoordinateOperation/CoordinateOperations.php b/src/CoordinateOperation/CoordinateOperations.php index 34cf49691..7267d75de 100644 --- a/src/CoordinateOperation/CoordinateOperations.php +++ b/src/CoordinateOperation/CoordinateOperations.php @@ -1527,7 +1527,7 @@ class CoordinateOperations 'extent_name' => 'France - onshore - mainland and Corsica', ], 'urn:ogc:def:coordinateOperation:EPSG::1765' => [ - 'name' => 'Bern 1898 (Bern) to CH1903 (1)', + 'name' => 'CH1903 (Bern) to CH1903 (1)', 'method' => 'urn:ogc:def:method:EPSG::9601', 'extent' => ['urn:ogc:def:area:EPSG::1286'], 'extent_name' => 'Europe - Liechtenstein and Switzerland', @@ -5062,7 +5062,7 @@ class CoordinateOperations ], 'urn:ogc:def:coordinateOperation:EPSG::6327' => [ 'name' => 'NAD83(2011) to NAVD88 height (2)', - 'method' => 'urn:ogc:def:method:EPSG::9665', + 'method' => 'urn:ogc:def:method:EPSG::1134', 'extent' => ['urn:ogc:def:area:EPSG::1330'], 'extent_name' => 'USA - Alaska', ], @@ -7444,19 +7444,19 @@ class CoordinateOperations ], 'urn:ogc:def:coordinateOperation:EPSG::7648' => [ 'name' => 'NAD83(MA11) to GUVD04 height (1)', - 'method' => 'urn:ogc:def:method:EPSG::9665', + 'method' => 'urn:ogc:def:method:EPSG::1134', 'extent' => ['urn:ogc:def:area:EPSG::3255'], 'extent_name' => 'Guam - onshore', ], 'urn:ogc:def:coordinateOperation:EPSG::7649' => [ 'name' => 'NAD83(MA11) to NMVD03 height (1)', - 'method' => 'urn:ogc:def:method:EPSG::9665', + 'method' => 'urn:ogc:def:method:EPSG::1134', 'extent' => ['urn:ogc:def:area:EPSG::4171'], 'extent_name' => 'Northern Mariana Islands - Rota, Saipan and Tinian', ], 'urn:ogc:def:coordinateOperation:EPSG::7650' => [ 'name' => 'NAD83(PA11) to ASVD02 height (1)', - 'method' => 'urn:ogc:def:method:EPSG::9665', + 'method' => 'urn:ogc:def:method:EPSG::1134', 'extent' => ['urn:ogc:def:area:EPSG::2288'], 'extent_name' => 'American Samoa - Tutuila island', ], @@ -9940,19 +9940,19 @@ class CoordinateOperations ], 'urn:ogc:def:coordinateOperation:EPSG::9229' => [ 'name' => 'NAD83(2011) to NAVD88 height (3)', - 'method' => 'urn:ogc:def:method:EPSG::9665', + 'method' => 'urn:ogc:def:method:EPSG::1134', 'extent' => ['urn:ogc:def:area:EPSG::1323'], 'extent_name' => 'USA - CONUS - onshore', ], 'urn:ogc:def:coordinateOperation:EPSG::9230' => [ 'name' => 'NAD83(2011) to PRVD02 height (2)', - 'method' => 'urn:ogc:def:method:EPSG::9665', + 'method' => 'urn:ogc:def:method:EPSG::1134', 'extent' => ['urn:ogc:def:area:EPSG::3294'], 'extent_name' => 'Puerto Rico - onshore', ], 'urn:ogc:def:coordinateOperation:EPSG::9231' => [ 'name' => 'NAD83(2011) to VIVD09 height (2)', - 'method' => 'urn:ogc:def:method:EPSG::9665', + 'method' => 'urn:ogc:def:method:EPSG::1134', 'extent' => ['urn:ogc:def:area:EPSG::3330'], 'extent_name' => 'Virgin Islands, US - onshore', ], @@ -10660,13 +10660,13 @@ class CoordinateOperations ], 'urn:ogc:def:coordinateOperation:EPSG::9595' => [ 'name' => 'NAD83(2011) to NAD83(2011) + NAVD88 height (3)', - 'method' => 'urn:ogc:def:method:EPSG::1088', + 'method' => 'urn:ogc:def:method:EPSG::1135', 'extent' => ['urn:ogc:def:area:EPSG::1323'], 'extent_name' => 'USA - CONUS - onshore', ], 'urn:ogc:def:coordinateOperation:EPSG::9596' => [ 'name' => 'NAD83(2011) to NAD83(2011) + NAVD88 height (2)', - 'method' => 'urn:ogc:def:method:EPSG::1088', + 'method' => 'urn:ogc:def:method:EPSG::1135', 'extent' => ['urn:ogc:def:area:EPSG::1330'], 'extent_name' => 'USA - Alaska', ], @@ -10768,31 +10768,31 @@ class CoordinateOperations ], 'urn:ogc:def:coordinateOperation:EPSG::9622' => [ 'name' => 'NAD83(2011) to NAD83(2011) + PRVD02 height (2)', - 'method' => 'urn:ogc:def:method:EPSG::1088', + 'method' => 'urn:ogc:def:method:EPSG::1135', 'extent' => ['urn:ogc:def:area:EPSG::3294'], 'extent_name' => 'Puerto Rico - onshore', ], 'urn:ogc:def:coordinateOperation:EPSG::9623' => [ 'name' => 'NAD83(2011) to NAD83(2011) + VIVD09 height (2)', - 'method' => 'urn:ogc:def:method:EPSG::1088', + 'method' => 'urn:ogc:def:method:EPSG::1135', 'extent' => ['urn:ogc:def:area:EPSG::3330'], 'extent_name' => 'Virgin Islands, US - onshore', ], 'urn:ogc:def:coordinateOperation:EPSG::9624' => [ 'name' => 'NAD83(MA11) to NAD83(MA11) + GUVD04 height (1)', - 'method' => 'urn:ogc:def:method:EPSG::1088', + 'method' => 'urn:ogc:def:method:EPSG::1135', 'extent' => ['urn:ogc:def:area:EPSG::3255'], 'extent_name' => 'Guam - onshore', ], 'urn:ogc:def:coordinateOperation:EPSG::9625' => [ 'name' => 'NAD83(MA11) to NAD83(MA11) + NMVD03 height (1)', - 'method' => 'urn:ogc:def:method:EPSG::1088', + 'method' => 'urn:ogc:def:method:EPSG::1135', 'extent' => ['urn:ogc:def:area:EPSG::4171'], 'extent_name' => 'Northern Mariana Islands - Rota, Saipan and Tinian', ], 'urn:ogc:def:coordinateOperation:EPSG::9626' => [ 'name' => 'NAD83(PA11) to NAD83(PA11) + ASVD02 height (1)', - 'method' => 'urn:ogc:def:method:EPSG::1088', + 'method' => 'urn:ogc:def:method:EPSG::1135', 'extent' => ['urn:ogc:def:area:EPSG::2288'], 'extent_name' => 'American Samoa - Tutuila island', ], @@ -12794,6 +12794,12 @@ class CoordinateOperations 'extent' => ['urn:ogc:def:area:EPSG::4775'], 'extent_name' => 'UK - London to Glasgow', ], + 'urn:ogc:def:coordinateOperation:EPSG::10664' => [ + 'name' => 'Porto Alegre Transverse Mercator', + 'method' => 'urn:ogc:def:method:EPSG::9807', + 'extent' => ['urn:ogc:def:area:EPSG::4777'], + 'extent_name' => 'Brazil - Porto Alegre municipality', + ], 'urn:ogc:def:coordinateOperation:EPSG::10700' => [ 'name' => 'Delaware CS27', 'method' => 'urn:ogc:def:method:EPSG::9807', diff --git a/src/CoordinateOperation/Params/EPSG10664.php b/src/CoordinateOperation/Params/EPSG10664.php new file mode 100644 index 000000000..a6a670a43 --- /dev/null +++ b/src/CoordinateOperation/Params/EPSG10664.php @@ -0,0 +1,16 @@ + UnitOfMeasureFactory::makeUnit(0.0, 'urn:ogc:def:uom:EPSG::9110'), + 'longitudeOfNaturalOrigin' => UnitOfMeasureFactory::makeUnit(-51.0, 'urn:ogc:def:uom:EPSG::9110'), + 'scaleFactorAtNaturalOrigin' => UnitOfMeasureFactory::makeUnit(0.999995, 'urn:ogc:def:uom:EPSG::9201'), + 'falseEasting' => UnitOfMeasureFactory::makeUnit(300000.0, 'urn:ogc:def:uom:EPSG::9001'), + 'falseNorthing' => UnitOfMeasureFactory::makeUnit(5000000.0, 'urn:ogc:def:uom:EPSG::9001'), +]; diff --git a/src/CoordinateReferenceSystem/Compound.php b/src/CoordinateReferenceSystem/Compound.php index dbe1e1c50..3d4d90a0e 100644 --- a/src/CoordinateReferenceSystem/Compound.php +++ b/src/CoordinateReferenceSystem/Compound.php @@ -216,6 +216,12 @@ class Compound extends CoordinateReferenceSystem */ public const EPSG_EOS21_GRID_PLUS_ODN_HEIGHT = 'urn:ogc:def:crs:EPSG::9742'; + /** + * ETRF2000 + EOMA 1980 height + * Extent: Hungary. + */ + public const EPSG_ETRF2000_PLUS_EOMA_1980_HEIGHT = 'urn:ogc:def:crs:EPSG::10659'; + /** * ETRF2000-PL + Baltic 1986 height * Extent: Poland - onshore. @@ -1152,6 +1158,12 @@ class Compound extends CoordinateReferenceSystem */ public const EPSG_GWWWA22_GRID_PLUS_ODN_HEIGHT = 'urn:ogc:def:crs:EPSG::10223'; + /** + * HD72 / EOV + EOMA 1980 height + * Extent: Hungary. + */ + public const EPSG_HD72_EOV_PLUS_EOMA_1980_HEIGHT = 'urn:ogc:def:crs:EPSG::10660'; + /** * HS2 Survey Grid + HS2-VRF height * Extent: UK - HS2 phases 1 and 2a railway corridor from London to Birmingham, Lichfield and Crewe diff --git a/src/CoordinateReferenceSystem/CompoundSRIDData.php b/src/CoordinateReferenceSystem/CompoundSRIDData.php index 793f65cd7..2a428aea1 100644 --- a/src/CoordinateReferenceSystem/CompoundSRIDData.php +++ b/src/CoordinateReferenceSystem/CompoundSRIDData.php @@ -3909,6 +3909,24 @@ trait CompoundSRIDData 'extent_name' => 'Greenland - offshore', 'help' => '', ], + 'urn:ogc:def:crs:EPSG::10659' => [ + 'name' => 'ETRF2000 + EOMA 1980 height', + 'horizontal_crs' => 'urn:ogc:def:crs:EPSG::9067', + 'horizontal_crs_type' => 'geographic 2D', + 'vertical_crs' => 'urn:ogc:def:crs:EPSG::5787', + 'extent' => ['urn:ogc:def:area:EPSG::1119'], + 'extent_name' => 'Hungary', + 'help' => '', + ], + 'urn:ogc:def:crs:EPSG::10660' => [ + 'name' => 'HD72 / EOV + EOMA 1980 height', + 'horizontal_crs' => 'urn:ogc:def:crs:EPSG::23700', + 'horizontal_crs_type' => 'projected', + 'vertical_crs' => 'urn:ogc:def:crs:EPSG::5787', + 'extent' => ['urn:ogc:def:area:EPSG::1119'], + 'extent_name' => 'Hungary', + 'help' => '', + ], 'urn:ogc:def:crs:EPSG::20001' => [ 'name' => 'ETRS89 + SVD2006 height', 'horizontal_crs' => 'urn:ogc:def:crs:EPSG::4258', diff --git a/src/CoordinateReferenceSystem/Geographic2D.php b/src/CoordinateReferenceSystem/Geographic2D.php index f29890b4a..d735db56e 100644 --- a/src/CoordinateReferenceSystem/Geographic2D.php +++ b/src/CoordinateReferenceSystem/Geographic2D.php @@ -327,12 +327,6 @@ class Geographic2D extends Geographic */ public const EPSG_BERMUDA_1957 = 'urn:ogc:def:crs:EPSG::4216'; - /** - * Bern 1898 (Bern) - * Extent: Liechtenstein; Switzerland. - */ - public const EPSG_BERN_1898_BERN = 'urn:ogc:def:crs:EPSG::4801'; - /** * Bern 1938 * Extent: Liechtenstein; Switzerland @@ -387,6 +381,13 @@ class Geographic2D extends Geographic */ public const EPSG_CH1903 = 'urn:ogc:def:crs:EPSG::4149'; + /** + * CH1903 (Bern) + * Extent: Liechtenstein; Switzerland + * Replaced by CH1903 (CRS code 4149). + */ + public const EPSG_CH1903_BERN = 'urn:ogc:def:crs:EPSG::4801'; + /** * CH1903+ * Extent: Liechtenstein; Switzerland @@ -4305,6 +4306,11 @@ class Geographic2D extends Geographic * @deprecated use EPSG_KGD2002 instead */ public const EPSG_KOREA_2000 = 'urn:ogc:def:crs:EPSG::4737'; + + /** + * @deprecated use EPSG_CH1903_BERN instead + */ + public const EPSG_BERN_1898_BERN = 'urn:ogc:def:crs:EPSG::4801'; protected Geographic2D|Geographic3D|null $baseCRS; /** diff --git a/src/CoordinateReferenceSystem/Geographic2DSRIDData.php b/src/CoordinateReferenceSystem/Geographic2DSRIDData.php index 7803d0a19..3fd44d4d4 100644 --- a/src/CoordinateReferenceSystem/Geographic2DSRIDData.php +++ b/src/CoordinateReferenceSystem/Geographic2DSRIDData.php @@ -3102,13 +3102,13 @@ trait Geographic2DSRIDData 'help' => 'Replaces MG! alias D48 (CRS code 4312).', ], 'urn:ogc:def:crs:EPSG::4801' => [ - 'name' => 'Bern 1898 (Bern)', + 'name' => 'CH1903 (Bern)', 'coordinate_system' => 'urn:ogc:def:cs:EPSG::6422', 'base_crs' => null, 'datum' => 'urn:ogc:def:datum:EPSG::6801', 'extent' => ['urn:ogc:def:area:EPSG::1286'], 'extent_name' => 'Europe - Liechtenstein and Switzerland', - 'help' => '', + 'help' => 'Replaced by CH1903 (CRS code 4149).', ], 'urn:ogc:def:crs:EPSG::4802' => [ 'name' => 'Bogota 1975 (Bogota)', diff --git a/src/CoordinateReferenceSystem/Projected81.php b/src/CoordinateReferenceSystem/Projected81.php index 0e8b140dc..76cbfebae 100644 --- a/src/CoordinateReferenceSystem/Projected81.php +++ b/src/CoordinateReferenceSystem/Projected81.php @@ -1166,14 +1166,6 @@ class Projected81 extends ProjectedBase */ public const EPSG_BERMUDA_1957_UTM_ZONE_20N = 'urn:ogc:def:crs:EPSG::3769'; - /** - * Bern 1898 (Bern) / LV03C - * Extent: Liechtenstein; Switzerland - * In Switzerland, replaced by CH1903 / LV03 (CRS code 21781). For use in Liechtenstein may be implemented through - * Greenwich based equivalent CRS code 21782. - */ - public const EPSG_BERN_1898_BERN_LV03C = 'urn:ogc:def:crs:EPSG::21780'; - /** * Bissau / UTM zone 28N * Extent: Guinea-Bissau - onshore. @@ -1671,6 +1663,14 @@ class Projected81 extends ProjectedBase */ public const EPSG_CGRS93_CYPRUS_LOCAL_TRANSVERSE_MERCATOR = 'urn:ogc:def:crs:EPSG::6312'; + /** + * CH1903 (Bern) / LV03C + * Extent: Liechtenstein; Switzerland + * In Switzerland, replaced by CH1903 / LV03 (CRS code 21781). For use in Liechtenstein may be implemented through + * Greenwich based equivalent CRS code 21782. + */ + public const EPSG_CH1903_BERN_LV03C = 'urn:ogc:def:crs:EPSG::21780'; + /** * CH1903 / LV03 * Extent: Liechtenstein; Switzerland @@ -6422,7 +6422,7 @@ class Projected81 extends ProjectedBase /** * Gulshan 303 / TM 90 NE - * Extent: Bangladesh, Bangladesh - onshore + * Extent: Bangladesh - onshore, Bangladesh * Used by Survey of Bangladesh from 1995 to 2009, after which replaced by WGS 84 / TM 90 NE (CRS code 9680). See * Gulshan 303 / BTM (code 9678) for other uses including water resource management. */ @@ -8979,8 +8979,8 @@ class Projected81 extends ProjectedBase /** * MGI 1901 / Balkans zone 7 - * Extent: North Macedonia, Bosnia and Herzegovina - east of 19°30'E; Kosovo; Montenegro - east of 19°30'E; - * Serbia - between 19°30'E and 22°30'E + * Extent: Bosnia and Herzegovina - east of 19°30'E; Kosovo; Montenegro - east of 19°30'E; Serbia - between + * 19°30'E and 22°30'E, North Macedonia * Introduced in 1924. In Macedonia replaced by MSCS (CRS code 6204) from 2008 but from 2013 this CRS used for AREC * electronic cadastral database (E-kat) across whole country. In Bosnia and Herzegovina replaced by BH_ETRS89 / TM * (CRS code 10329). @@ -21041,7 +21041,7 @@ class Projected81 extends ProjectedBase /** * NAD83(CSRS)v2 / UTM zone 13N - * Extent: Canada - Saskatchewan, Canada between 108°W and 102°W - Northwest Territories, Nunavut, Saskatchewan + * Extent: Canada between 108°W and 102°W - Northwest Territories, Nunavut, Saskatchewan, Canada - Saskatchewan * Adopted by the Canadian federal government in 1998 and the provincial government of Saskatchewan in 2000. This * zone used throughout all SK for province-wide mapping and spatial referencing. */ @@ -34270,6 +34270,14 @@ class Projected81 extends ProjectedBase */ public const EPSG_SIRGAS_2000_BRAZIL_POLYCONIC = 'urn:ogc:def:crs:EPSG::5880'; + /** + * SIRGAS 2000 / Porto Alegre TM + * Extent: Brazil - Porto Alegre municipality + * Replaces the Porto Alegre Gauss-Kruger Cartographic Reference System of the Brazilian General Chart Commission + * (SCR-CCG) from 2013-06-20. + */ + public const EPSG_SIRGAS_2000_PORTO_ALEGRE_TM = 'urn:ogc:def:crs:EPSG::10665'; + /** * SIRGAS 2000 / UTM zone 11N * Extent: Latin America between 120°W and 114°W, northern hemisphere. @@ -40481,4 +40489,9 @@ class Projected81 extends ProjectedBase * @deprecated use EPSG_KGD2002_WEST_BELT_2010 instead */ public const EPSG_KOREA_2000_WEST_BELT_2010 = 'urn:ogc:def:crs:EPSG::5185'; + + /** + * @deprecated use EPSG_CH1903_BERN_LV03C instead + */ + public const EPSG_BERN_1898_BERN_LV03C = 'urn:ogc:def:crs:EPSG::21780'; } diff --git a/src/CoordinateReferenceSystem/ProjectedConstantsChunk1.php b/src/CoordinateReferenceSystem/ProjectedConstantsChunk1.php index 2580675f0..30f2f07ff 100644 --- a/src/CoordinateReferenceSystem/ProjectedConstantsChunk1.php +++ b/src/CoordinateReferenceSystem/ProjectedConstantsChunk1.php @@ -1162,14 +1162,6 @@ trait ProjectedConstantsChunk1 */ public const EPSG_BERMUDA_1957_UTM_ZONE_20N = 'urn:ogc:def:crs:EPSG::3769'; - /** - * Bern 1898 (Bern) / LV03C - * Extent: Liechtenstein; Switzerland - * In Switzerland, replaced by CH1903 / LV03 (CRS code 21781). For use in Liechtenstein may be implemented through - * Greenwich based equivalent CRS code 21782. - */ - public const EPSG_BERN_1898_BERN_LV03C = 'urn:ogc:def:crs:EPSG::21780'; - /** * Bissau / UTM zone 28N * Extent: Guinea-Bissau - onshore. @@ -1667,6 +1659,14 @@ trait ProjectedConstantsChunk1 */ public const EPSG_CGRS93_CYPRUS_LOCAL_TRANSVERSE_MERCATOR = 'urn:ogc:def:crs:EPSG::6312'; + /** + * CH1903 (Bern) / LV03C + * Extent: Liechtenstein; Switzerland + * In Switzerland, replaced by CH1903 / LV03 (CRS code 21781). For use in Liechtenstein may be implemented through + * Greenwich based equivalent CRS code 21782. + */ + public const EPSG_CH1903_BERN_LV03C = 'urn:ogc:def:crs:EPSG::21780'; + /** * CH1903 / LV03 * Extent: Liechtenstein; Switzerland @@ -6418,7 +6418,7 @@ trait ProjectedConstantsChunk1 /** * Gulshan 303 / TM 90 NE - * Extent: Bangladesh, Bangladesh - onshore + * Extent: Bangladesh - onshore, Bangladesh * Used by Survey of Bangladesh from 1995 to 2009, after which replaced by WGS 84 / TM 90 NE (CRS code 9680). See * Gulshan 303 / BTM (code 9678) for other uses including water resource management. */ @@ -8975,8 +8975,8 @@ trait ProjectedConstantsChunk1 /** * MGI 1901 / Balkans zone 7 - * Extent: North Macedonia, Bosnia and Herzegovina - east of 19°30'E; Kosovo; Montenegro - east of 19°30'E; - * Serbia - between 19°30'E and 22°30'E + * Extent: Bosnia and Herzegovina - east of 19°30'E; Kosovo; Montenegro - east of 19°30'E; Serbia - between + * 19°30'E and 22°30'E, North Macedonia * Introduced in 1924. In Macedonia replaced by MSCS (CRS code 6204) from 2008 but from 2013 this CRS used for AREC * electronic cadastral database (E-kat) across whole country. In Bosnia and Herzegovina replaced by BH_ETRS89 / TM * (CRS code 10329). @@ -9546,4 +9546,9 @@ trait ProjectedConstantsChunk1 * @deprecated use EPSG_KGD2002_WEST_BELT_2010 instead */ public const EPSG_KOREA_2000_WEST_BELT_2010 = 'urn:ogc:def:crs:EPSG::5185'; + + /** + * @deprecated use EPSG_CH1903_BERN_LV03C instead + */ + public const EPSG_BERN_1898_BERN_LV03C = 'urn:ogc:def:crs:EPSG::21780'; } diff --git a/src/CoordinateReferenceSystem/ProjectedConstantsChunk3.php b/src/CoordinateReferenceSystem/ProjectedConstantsChunk3.php index dae3be2ad..423ce6268 100644 --- a/src/CoordinateReferenceSystem/ProjectedConstantsChunk3.php +++ b/src/CoordinateReferenceSystem/ProjectedConstantsChunk3.php @@ -302,7 +302,7 @@ trait ProjectedConstantsChunk3 /** * NAD83(CSRS)v2 / UTM zone 13N - * Extent: Canada - Saskatchewan, Canada between 108°W and 102°W - Northwest Territories, Nunavut, Saskatchewan + * Extent: Canada between 108°W and 102°W - Northwest Territories, Nunavut, Saskatchewan, Canada - Saskatchewan * Adopted by the Canadian federal government in 1998 and the provincial government of Saskatchewan in 2000. This * zone used throughout all SK for province-wide mapping and spatial referencing. */ diff --git a/src/CoordinateReferenceSystem/ProjectedConstantsChunk4.php b/src/CoordinateReferenceSystem/ProjectedConstantsChunk4.php index 02aea609e..e3851d53b 100644 --- a/src/CoordinateReferenceSystem/ProjectedConstantsChunk4.php +++ b/src/CoordinateReferenceSystem/ProjectedConstantsChunk4.php @@ -2767,6 +2767,14 @@ trait ProjectedConstantsChunk4 */ public const EPSG_SIRGAS_2000_BRAZIL_POLYCONIC = 'urn:ogc:def:crs:EPSG::5880'; + /** + * SIRGAS 2000 / Porto Alegre TM + * Extent: Brazil - Porto Alegre municipality + * Replaces the Porto Alegre Gauss-Kruger Cartographic Reference System of the Brazilian General Chart Commission + * (SCR-CCG) from 2013-06-20. + */ + public const EPSG_SIRGAS_2000_PORTO_ALEGRE_TM = 'urn:ogc:def:crs:EPSG::10665'; + /** * SIRGAS 2000 / UTM zone 11N * Extent: Latin America between 120°W and 114°W, northern hemisphere. diff --git a/src/CoordinateReferenceSystem/ProjectedSRIDData.php b/src/CoordinateReferenceSystem/ProjectedSRIDData.php index 4a613fac5..5cb918c05 100644 --- a/src/CoordinateReferenceSystem/ProjectedSRIDData.php +++ b/src/CoordinateReferenceSystem/ProjectedSRIDData.php @@ -9253,8 +9253,8 @@ trait ProjectedSRIDData 'coordinate_system' => 'urn:ogc:def:cs:EPSG::4400', 'base_crs' => 'urn:ogc:def:crs:EPSG::4682', 'deriving_conversion' => 'urn:ogc:def:coordinateOperation:EPSG::16490', - 'extent' => ['urn:ogc:def:area:EPSG::1041', 'urn:ogc:def:area:EPSG::3217'], - 'extent_name' => 'Bangladesh, Bangladesh - onshore', + 'extent' => ['urn:ogc:def:area:EPSG::3217', 'urn:ogc:def:area:EPSG::1041'], + 'extent_name' => 'Bangladesh - onshore, Bangladesh', 'help' => 'Used by Survey of Bangladesh from 1995 to 2009, after which replaced by WGS 84 / TM 90 NE (CRS code 9680). See Gulshan 303 / BTM (code 9678) for other uses including water resource management.', ], 'urn:ogc:def:crs:EPSG::3107' => [ @@ -21349,8 +21349,8 @@ trait ProjectedSRIDData 'coordinate_system' => 'urn:ogc:def:cs:EPSG::4498', 'base_crs' => 'urn:ogc:def:crs:EPSG::3906', 'deriving_conversion' => 'urn:ogc:def:coordinateOperation:EPSG::18277', - 'extent' => ['urn:ogc:def:area:EPSG::1148', 'urn:ogc:def:area:EPSG::1711'], - 'extent_name' => 'North Macedonia, Europe - former Yugoslavia onshore 19.5°E to 22.5°E', + 'extent' => ['urn:ogc:def:area:EPSG::1711', 'urn:ogc:def:area:EPSG::1148'], + 'extent_name' => 'Europe - former Yugoslavia onshore 19.5°E to 22.5°E, North Macedonia', 'help' => 'Introduced in 1924. In Macedonia replaced by MSCS (CRS code 6204) from 2008 but from 2013 this CRS used for AREC electronic cadastral database (E-kat) across whole country. In Bosnia and Herzegovina replaced by BH_ETRS89 / TM (CRS code 10329).', ], 'urn:ogc:def:crs:EPSG::6328' => [ @@ -32594,6 +32594,15 @@ trait ProjectedSRIDData 'extent_name' => 'UK - London to Glasgow', 'help' => 'Defined through transformation ETRS89 to WC05-IRF (1) (code 10629) and map projection WC05-TM (code 10631). Emulates the WC05 Snake projection applied to ETRS89 as realized through OSNet 2009.', ], + 'urn:ogc:def:crs:EPSG::10665' => [ + 'name' => 'SIRGAS 2000 / Porto Alegre TM', + 'coordinate_system' => 'urn:ogc:def:cs:EPSG::4400', + 'base_crs' => 'urn:ogc:def:crs:EPSG::4674', + 'deriving_conversion' => 'urn:ogc:def:coordinateOperation:EPSG::10664', + 'extent' => ['urn:ogc:def:area:EPSG::4777'], + 'extent_name' => 'Brazil - Porto Alegre municipality', + 'help' => 'Replaces the Porto Alegre Gauss-Kruger Cartographic Reference System of the Brazilian General Chart Commission (SCR-CCG) from 2013-06-20.', + ], 'urn:ogc:def:crs:EPSG::10731' => [ 'name' => 'ETRS89/DREF91/2016 / UTM zone 31N', 'coordinate_system' => 'urn:ogc:def:cs:EPSG::4400', @@ -35196,7 +35205,7 @@ trait ProjectedSRIDData 'help' => 'Replaced by BD72 / Belge Lambert 72 (code 31300) and BD72 / Belgian Lambert 72 (code 31370).', ], 'urn:ogc:def:crs:EPSG::21780' => [ - 'name' => 'Bern 1898 (Bern) / LV03C', + 'name' => 'CH1903 (Bern) / LV03C', 'coordinate_system' => 'urn:ogc:def:cs:EPSG::4498', 'base_crs' => 'urn:ogc:def:crs:EPSG::4801', 'deriving_conversion' => 'urn:ogc:def:coordinateOperation:EPSG::19923', @@ -35551,8 +35560,8 @@ trait ProjectedSRIDData 'coordinate_system' => 'urn:ogc:def:cs:EPSG::4400', 'base_crs' => 'urn:ogc:def:crs:EPSG::8237', 'deriving_conversion' => 'urn:ogc:def:coordinateOperation:EPSG::16013', - 'extent' => ['urn:ogc:def:area:EPSG::2375', 'urn:ogc:def:area:EPSG::3526'], - 'extent_name' => 'Canada - Saskatchewan, Canada - 108°W to 102°W', + 'extent' => ['urn:ogc:def:area:EPSG::3526', 'urn:ogc:def:area:EPSG::2375'], + 'extent_name' => 'Canada - 108°W to 102°W, Canada - Saskatchewan', 'help' => 'Adopted by the Canadian federal government in 1998 and the provincial government of Saskatchewan in 2000. This zone used throughout all SK for province-wide mapping and spatial referencing.', ], 'urn:ogc:def:crs:EPSG::22214' => [ diff --git a/src/Datum/Datum.php b/src/Datum/Datum.php index be68a96c8..f228c83e9 100644 --- a/src/Datum/Datum.php +++ b/src/Datum/Datum.php @@ -1356,6 +1356,7 @@ class Datum * Schleswig-Holstein, Thuringen * Defined by transformation from ETRS89 (transformation code 5826) to be an average of DHDN realizations across * all German states. + * In DB_REF2016 only the vertical CRS component is updated, the geodetic CRS component of DB_REF is unchanged. */ public const EPSG_DEUTSCHE_BAHN_REFERENCE_SYSTEM = 'urn:ogc:def:datum:EPSG::1081'; @@ -9031,7 +9032,7 @@ class Datum 'anchor_epoch' => null, 'extent_name' => 'Germany - onshore', 'help' => 'Defined by transformation from ETRS89 (transformation code 5826) to be an average of DHDN realizations across all German states. -', +In DB_REF2016 only the vertical CRS component is updated, the geodetic CRS component of DB_REF is unchanged.', ], 'urn:ogc:def:datum:EPSG::1082' => [ 'name' => 'Highest Astronomical Tide', diff --git a/src/EPSG/Import/EPSGCodegenFromDataImport.php b/src/EPSG/Import/EPSGCodegenFromDataImport.php index 2f0039339..556465822 100644 --- a/src/EPSG/Import/EPSGCodegenFromDataImport.php +++ b/src/EPSG/Import/EPSGCodegenFromDataImport.php @@ -1349,6 +1349,7 @@ public function generateDataCoordinateReferenceSystems(): void Geographic2D::EPSG_LUREF => ['Luxembourg 1930'], Geographic2D::EPSG_LKS_92 => ['LKS92'], Geographic2D::EPSG_KGD2002 => ['Korea 2000'], + Geographic2D::EPSG_CH1903_BERN => ['Bern 1898 (Bern)'], ] ); $this->codeGen->updateDocs(Geographic2D::class, $data); @@ -1464,6 +1465,7 @@ public function generateDataCoordinateReferenceSystems(): void Projected::EPSG_KGD2002_UNIFIED_CS => ['Korea 2000 / Unified CS'], Projected::EPSG_KGD2002_WEST_BELT => ['Korea 2000 / West Belt'], Projected::EPSG_KGD2002_WEST_BELT_2010 => ['Korea 2000 / West Belt 2010'], + Projected::EPSG_CH1903_BERN_LV03C => ['Bern 1898 (Bern) / LV03C'], ], fn ($urn) => isset($data[$urn]), ARRAY_FILTER_USE_KEY diff --git a/src/Geometry/Extents/BoundingBoxOnly/4777.json b/src/Geometry/Extents/BoundingBoxOnly/4777.json new file mode 100644 index 000000000..da025ab27 --- /dev/null +++ b/src/Geometry/Extents/BoundingBoxOnly/4777.json @@ -0,0 +1,10 @@ +{ + "id": "urn:ogc:def:area:EPSG::4777", + "title": "South America/Brazil - Porto Alegre municipality", + "type": "Polygon", + "coordinates": [ + [ + [-51.3997712364751, -30.36935610736037], [-50.91142197502587, -30.36935610736037], [-50.91142197502587, -29.8307921200858], [-51.3997712364751, -29.8307921200858], [-51.3997712364751, -30.36935610736037] + ] + ] +} \ No newline at end of file diff --git a/src/Geometry/RegionMap.php b/src/Geometry/RegionMap.php index 87e0836c0..5f4214b87 100644 --- a/src/Geometry/RegionMap.php +++ b/src/Geometry/RegionMap.php @@ -3688,5 +3688,6 @@ class RegionMap 'urn:ogc:def:area:EPSG::4774' => self::REGION_EUROPE, 'urn:ogc:def:area:EPSG::4775' => self::REGION_EUROPE, 'urn:ogc:def:area:EPSG::4776' => self::REGION_EUROPE, + 'urn:ogc:def:area:EPSG::4777' => self::REGION_SOUTHAMERICA, ]; } diff --git a/tests/GIGS/GIGS 2200 Predefined Geodetic Data Objects test data/ASCII/GIGS_lib_2205_GeodeticCRS.txt b/tests/GIGS/GIGS 2200 Predefined Geodetic Data Objects test data/ASCII/GIGS_lib_2205_GeodeticCRS.txt index 39468b98f..5929ca7ae 100644 --- a/tests/GIGS/GIGS 2200 Predefined Geodetic Data Objects test data/ASCII/GIGS_lib_2205_GeodeticCRS.txt +++ b/tests/GIGS/GIGS 2200 Predefined Geodetic Data Objects test data/ASCII/GIGS_lib_2205_GeodeticCRS.txt @@ -443,7 +443,7 @@ 4765 Geographic 2D Slovenia 1996 D96 6765 Slovenia 4883 Geographic 3D Slovenia 1996 D96 6765 Slovenia 4882 Geocentric Slovenia 1996 D96 6765 Slovenia -4801 Geographic 2D Bern 1898 (Bern) 6801 Europe - Liechtenstein and Switzerland +4801 Geographic 2D CH1903 (Bern) 6801 Europe - Liechtenstein and Switzerland 4802 Geographic 2D Bogota 1975 (Bogota) 6802 Colombia - mainland 4803 Geographic 2D Lisbon (Lisbon) Lisbon 1937 (Lisbon) 6803 Portugal - mainland - onshore 4804 Geographic 2D Makassar (Jakarta) 6804 Indonesia - Sulawesi SW