From d7a2bdefb8d47e8ca18c8cbceb1a07290cb46ff7 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 7 Mar 2021 20:29:06 +0100 Subject: typo fixes --- src/iso19111/operation/coordinateoperationfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/iso19111/operation') diff --git a/src/iso19111/operation/coordinateoperationfactory.cpp b/src/iso19111/operation/coordinateoperationfactory.cpp index 4bd68b1d..7509c513 100644 --- a/src/iso19111/operation/coordinateoperationfactory.cpp +++ b/src/iso19111/operation/coordinateoperationfactory.cpp @@ -4917,13 +4917,13 @@ void CoordinateOperationFactory::Private::createOperationsCompoundToCompound( createOperations(sourceCRS, intermGeogSrc, context); const auto opsGeogToTarget = createOperations(intermGeogDst, targetCRS, context); - const bool hasNonTrivalSrcTransf = + const bool hasNonTrivialSrcTransf = !opsSrcToGeog.empty() && !opsSrcToGeog.front()->hasBallparkTransformation(); const bool hasNonTrivialTargetTransf = !opsGeogToTarget.empty() && !opsGeogToTarget.front()->hasBallparkTransformation(); - if (hasNonTrivalSrcTransf && hasNonTrivialTargetTransf) { + if (hasNonTrivialSrcTransf && hasNonTrivialTargetTransf) { const auto opsGeogSrcToGeogDst = createOperations(intermGeogSrc, intermGeogDst, context); for (const auto &op1 : opsSrcToGeog) { -- cgit v1.2.3