From a64be84d5f6410287bad74de423aae4c43a6f315 Mon Sep 17 00:00:00 2001 From: Doug Wright Date: Sat, 9 Oct 2021 23:04:03 +0100 Subject: [PATCH] Can't use these grids :/ --- .../CoordinateOperationMethods.php | 10 ++++++++++ src/EPSG/Import/EPSGCodegenFromDataImport.php | 14 ++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/CoordinateOperation/CoordinateOperationMethods.php b/src/CoordinateOperation/CoordinateOperationMethods.php index 2a9086ceb..70136be9d 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_IGN2009 = 'urn:ogc:def:method:EPSG::1095'; + /** + * Geog3D to Geog2D+GravityRelatedHeight (ITAL2005). + */ + public const EPSG_GEOG3D_TO_GEOG2D_PLUS_GRAVITYRELATEDHEIGHT_ITAL2005 = 'urn:ogc:def:method:EPSG::1105'; + /** * Geog3D to Geog2D+GravityRelatedHeight (OSGM-GB). */ @@ -276,6 +281,11 @@ class CoordinateOperationMethods */ public const EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_IGN2009 = 'urn:ogc:def:method:EPSG::1073'; + /** + * Geographic3D to GravityRelatedHeight (ITAL2005). + */ + public const EPSG_GEOGRAPHIC3D_TO_GRAVITYRELATEDHEIGHT_ITAL2005 = 'urn:ogc:def:method:EPSG::1106'; + /** * Geographic3D to GravityRelatedHeight (NZgeoid) * EPSG initially gave this method the name "Geographic3D to GravityRelatedHeight (NZgeoid2009)". As the same file diff --git a/src/EPSG/Import/EPSGCodegenFromDataImport.php b/src/EPSG/Import/EPSGCodegenFromDataImport.php index fda956223..b4f84cac3 100644 --- a/src/EPSG/Import/EPSGCodegenFromDataImport.php +++ b/src/EPSG/Import/EPSGCodegenFromDataImport.php @@ -82,10 +82,6 @@ class EPSGCodegenFromDataImport 1099, // Geographic3D to GravityRelatedHeight (PL txt) 1100, // Geog3D to Geog2D+GravityRelatedHeight (PL txt) 1101, // Vertical Offset by Grid Interpolation (PL txt) - 1105, // Geog3D to Geog2D+GravityRelatedHeight (ITAL2005) - 1106, // Geographic3D to GravityRelatedHeight (ITAL2005) - 9620, // Norway Offshore Interpolation - 9634, // Maritime Provinces polynomial interpolation // only distributed as .dll, can't use 1036, // Cartesian Grid Offsets from Form Function @@ -107,6 +103,12 @@ class EPSGCodegenFromDataImport 1094, // Geog3D to Geog2D+GravityRelatedHeight (IGN1997) 9664, // Geographic3D to GravityRelatedHeight (IGN1997) + // Replaced with a position vector transformation + 9620, // Norway Offshore Interpolation + + // Not available for download + 9634, // Maritime Provinces polynomial interpolation + // EGM files are *very* large and not of general use 1103, // Geog3D to Geog2D+GravityRelatedHeight (EGM) 9661, // Geographic3D to GravityRelatedHeight (EGM) @@ -266,6 +268,10 @@ class EPSGCodegenFromDataImport 9735, // NTv2 35160622_47161840_E50_F89.gsb 9736, // NTv2 35160622_47161840_E50_F00.gsb 9737, // NTv2 35160622_47161840_F89_F00.gsb + 9727, // GRD geo_igm_mar06.grd + 9728, // GRD geo_igm_mar06.grd + 9729, // GRD geo_igm_mar06.grd + 9730, // GRD geo_igm_mar06.grd ]; public function __construct()