aboutsummaryrefslogtreecommitdiff
path: root/include/proj/internal
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-30 11:28:43 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-10-30 11:28:43 +0100
commit05a7bcfa56a03437b2ba73616a6bc21c9347d2a7 (patch)
treea483f224bddab4e9c36f4d94e1dcc91e696ba268 /include/proj/internal
parentffc865a41aa540673eaedb2552565cf9f8d18679 (diff)
downloadPROJ-05a7bcfa56a03437b2ba73616a6bc21c9347d2a7.tar.gz
PROJ-05a7bcfa56a03437b2ba73616a6bc21c9347d2a7.zip
Rework importing of Vertical unit change from EPSG db, add support for Height Depth Reversal and use it in createOperations()
Diffstat (limited to 'include/proj/internal')
-rw-r--r--include/proj/internal/coordinateoperation_constants.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/proj/internal/coordinateoperation_constants.hpp b/include/proj/internal/coordinateoperation_constants.hpp
index f1925c9b..eb0bb8c5 100644
--- a/include/proj/internal/coordinateoperation_constants.hpp
+++ b/include/proj/internal/coordinateoperation_constants.hpp
@@ -826,6 +826,7 @@ static const struct MethodNameCode {
METHOD_NAME_CODE(VERTICAL_PERSPECTIVE),
// Other conversions
METHOD_NAME_CODE(CHANGE_VERTICAL_UNIT),
+ METHOD_NAME_CODE(HEIGHT_DEPTH_REVERSAL),
METHOD_NAME_CODE(AXIS_ORDER_REVERSAL_2D),
METHOD_NAME_CODE(AXIS_ORDER_REVERSAL_3D),
METHOD_NAME_CODE(GEOGRAPHIC_GEOCENTRIC),
@@ -1153,6 +1154,9 @@ static const MethodMapping otherMethodMappings[] = {
{EPSG_NAME_METHOD_CHANGE_VERTICAL_UNIT,
EPSG_CODE_METHOD_CHANGE_VERTICAL_UNIT, nullptr, nullptr, nullptr,
paramsChangeVerticalUnit},
+ {EPSG_NAME_METHOD_HEIGHT_DEPTH_REVERSAL,
+ EPSG_CODE_METHOD_HEIGHT_DEPTH_REVERSAL, nullptr, nullptr, nullptr,
+ paramsChangeVerticalUnit},
{EPSG_NAME_METHOD_AXIS_ORDER_REVERSAL_2D,
EPSG_CODE_METHOD_AXIS_ORDER_REVERSAL_2D, nullptr, nullptr, nullptr,
nullptr},