aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-11-28 23:39:33 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-11-28 23:39:33 +0100
commit87270ae6f1840872d5f49c70258941197b0ce809 (patch)
tree4176baa2b3f7affe0a39dfd5a351ef29e68b3fd8 /src
parentc6dda7637c0c49ece9216395caffa2bbd6184a92 (diff)
downloadPROJ-87270ae6f1840872d5f49c70258941197b0ce809.tar.gz
PROJ-87270ae6f1840872d5f49c70258941197b0ce809.zip
createOperations(): get a '+proj=noop' instead of '+proj=affine +s33=-1' when attempting (non-sensical) EPSG:3855 to EPSG:4326
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/coordinateoperation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 0f1c680b..5ef32d31 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -14837,7 +14837,7 @@ void CoordinateOperationFactory::Private::createOperationsVertToGeogBallpark(
double convDst = 1.0;
const auto &geogAxis = geogDst->coordinateSystem()->axisList();
bool dstIsUp = true;
- bool dstIsDown = true;
+ bool dstIsDown = false;
if (geogAxis.size() == 3) {
const auto &dstAxis = geogAxis[2];
convDst = dstAxis->unit().conversionToSI();