diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-04-01 22:12:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-01 22:12:31 +0200 |
| commit | 4f5df6999ea4832629929a2caaefb4844ff28a0c (patch) | |
| tree | 15719ce513c9b7208251f65174843c3a6149f3d3 /src | |
| parent | 8cb60c89d8ad4e2ebf3df8fe949d1c001f51c939 (diff) | |
| parent | f1635cec8db57a3d3aeead8750e01097048be121 (diff) | |
| download | PROJ-4f5df6999ea4832629929a2caaefb4844ff28a0c.tar.gz PROJ-4f5df6999ea4832629929a2caaefb4844ff28a0c.zip | |
Merge pull request #2626 from OSGeo/backport-2625-to-8.0
[Backport 8.0] Database: update to EPSG 10.017
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/operation/transformation.cpp | 7 | ||||
| -rw-r--r-- | src/proj_constants.h | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/iso19111/operation/transformation.cpp b/src/iso19111/operation/transformation.cpp index 392d6026..da68ffa6 100644 --- a/src/iso19111/operation/transformation.cpp +++ b/src/iso19111/operation/transformation.cpp @@ -2005,6 +2005,7 @@ isGeographic3DToGravityRelatedHeight(const OperationMethodNNPtr &method, "1096", // Geog3D to Geog2D+GravityRelatedHeight (OSGM15-Ire) "1097", // Geog3D to Geog2D+GravityRelatedHeight (OSGM-GB) "1098", // Geog3D to Geog2D+GravityRelatedHeight (SA 2010) + "1100", // Geog3D to Geog2D+GravityRelatedHeight (PL txt) "1103", // Geog3D to Geog2D+GravityRelatedHeight (EGM) "9661", // Geographic3D to GravityRelatedHeight (EGM) "9662", // Geographic3D to GravityRelatedHeight (Ausgeoid98) @@ -2346,7 +2347,8 @@ TransformationNNPtr Transformation::substitutePROJAlternativeGridNames( if (methodEPSGCode == EPSG_CODE_METHOD_VERTCON || methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_NZLVD || methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_BEV_AT || - methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_GTX) { + methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_GTX || + methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_PL_TXT) { auto fileParameter = parameterValue(EPSG_NAME_PARAMETER_VERTICAL_OFFSET_FILE, EPSG_CODE_PARAMETER_VERTICAL_OFFSET_FILE); @@ -3196,7 +3198,8 @@ void Transformation::_exportToPROJString( if (methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_NZLVD || methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_BEV_AT || - methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_GTX) { + methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_GTX || + methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_PL_TXT) { auto fileParameter = parameterValue(EPSG_NAME_PARAMETER_VERTICAL_OFFSET_FILE, EPSG_CODE_PARAMETER_VERTICAL_OFFSET_FILE); diff --git a/src/proj_constants.h b/src/proj_constants.h index ce3b2157..0976dc2a 100644 --- a/src/proj_constants.h +++ b/src/proj_constants.h @@ -556,6 +556,9 @@ #define EPSG_CODE_METHOD_VERTICALGRID_GTX 1084 #define EPSG_NAME_METHOD_VERTICALGRID_GTX "Vertical Offset by Grid Interpolation (gtx)" +#define EPSG_CODE_METHOD_VERTICALGRID_PL_TXT 1101 +#define EPSG_NAME_METHOD_VERTICALGRID_PL_TXT "Vertical Offset by Grid Interpolation (PL txt)" + #define EPSG_NAME_PARAMETER_VERTICAL_OFFSET_FILE "Vertical offset file" #define EPSG_CODE_PARAMETER_VERTICAL_OFFSET_FILE 8732 |
