From b0b33b8447972ac6e60d68213d6c24b0a4989421 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 19 May 2020 13:38:23 +0200 Subject: createOperations(): fix bug when transforming between CompoundCRS and BoundCRS in the general case let to 0 result (contributes to fixes #2232) --- src/iso19111/coordinateoperation.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 -- cgit v1.2.3