diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-03-07 20:29:06 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-03-07 20:31:43 +0100 |
| commit | d7a2bdefb8d47e8ca18c8cbceb1a07290cb46ff7 (patch) | |
| tree | c4dccaa34df9e76d40f510f6519563cbd5212d1a /src/iso19111/operation/coordinateoperationfactory.cpp | |
| parent | 36a5a178cbd8c338a294ed5528462e65faf20a3d (diff) | |
| download | PROJ-d7a2bdefb8d47e8ca18c8cbceb1a07290cb46ff7.tar.gz PROJ-d7a2bdefb8d47e8ca18c8cbceb1a07290cb46ff7.zip | |
typo fixes
Diffstat (limited to 'src/iso19111/operation/coordinateoperationfactory.cpp')
| -rw-r--r-- | src/iso19111/operation/coordinateoperationfactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |
