aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-02-26 16:23:39 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-02-26 16:23:39 +0100
commit250e4a222bb267b33d9404ae31a1d09a0e4e16d3 (patch)
tree0f485943a46dd50e68496b95152961de574afb73 /src
parent1f8541d6f43f7fde949772e0a2174e317542b985 (diff)
downloadPROJ-250e4a222bb267b33d9404ae31a1d09a0e4e16d3.tar.gz
PROJ-250e4a222bb267b33d9404ae31a1d09a0e4e16d3.zip
Database: register 4 height Austrian grids from https://github.com/OSGeo/PROJ-data/pull/13 + handle 'Vertical Offset by Grid Interpolation (BEV AT)' method
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/coordinateoperation.cpp2
-rw-r--r--src/proj_constants.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index c97763e4..16325423 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -8867,6 +8867,7 @@ 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) {
auto fileParameter =
parameterValue(EPSG_NAME_PARAMETER_VERTICAL_OFFSET_FILE,
@@ -9619,6 +9620,7 @@ void Transformation::_exportToPROJString(
}
if (methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_NZLVD ||
+ methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_BEV_AT ||
methodEPSGCode == EPSG_CODE_METHOD_VERTICALGRID_GTX) {
auto fileParameter =
parameterValue(EPSG_NAME_PARAMETER_VERTICAL_OFFSET_FILE,
diff --git a/src/proj_constants.h b/src/proj_constants.h
index 5b95cda6..89104462 100644
--- a/src/proj_constants.h
+++ b/src/proj_constants.h
@@ -536,6 +536,9 @@
#define EPSG_CODE_METHOD_VERTICALGRID_NZLVD 1071
#define EPSG_NAME_METHOD_VERTICALGRID_NZLVD "Vertical Offset by Grid Interpolation (NZLVD)"
+#define EPSG_CODE_METHOD_VERTICALGRID_BEV_AT 1080
+#define EPSG_NAME_METHOD_VERTICALGRID_BEV_AT "Vertical Offset by Grid Interpolation (BEV AT)"
+
#define EPSG_CODE_METHOD_VERTICALGRID_GTX 1084
#define EPSG_NAME_METHOD_VERTICALGRID_GTX "Vertical Offset by Grid Interpolation (gtx)"