aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/coordinateoperation.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-05-19 13:38:23 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-05-19 14:21:02 +0200
commitb0b33b8447972ac6e60d68213d6c24b0a4989421 (patch)
treea83f9ba0cdbaa40d20344095530d5bb3d188c25e /src/iso19111/coordinateoperation.cpp
parentb6fc4159252b100fa04b808f97269177836f0acf (diff)
downloadPROJ-b0b33b8447972ac6e60d68213d6c24b0a4989421.tar.gz
PROJ-b0b33b8447972ac6e60d68213d6c24b0a4989421.zip
createOperations(): fix bug when transforming between CompoundCRS and BoundCRS in the general case let to 0 result (contributes to fixes #2232)
Diffstat (limited to 'src/iso19111/coordinateoperation.cpp')
-rw-r--r--src/iso19111/coordinateoperation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index 6dff57c1..bdb2ad2e 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -15218,10 +15218,15 @@ void CoordinateOperationFactory::Private::createOperationsBoundToCompound(
}
}
}
+ return;
}
}
}
}
+
+ // There might be better things to do, but for now just ignore the
+ // transformation of the bound CRS
+ res = createOperations(boundSrc->baseCRS(), targetCRS, context);
}
//! @endcond