diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-10-12 00:15:16 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-10-12 00:15:16 +0200 |
| commit | 25e1f6ee789d9db8756e05423f9a454885db4b9f (patch) | |
| tree | 720a1e0e6498126eea8e2b7edf9456dd1a2d36d3 /src | |
| parent | c5fa51fb6382504c8e16e443f0781211a5ddf815 (diff) | |
| download | PROJ-25e1f6ee789d9db8756e05423f9a454885db4b9f.tar.gz PROJ-25e1f6ee789d9db8756e05423f9a454885db4b9f.zip | |
createOperations(): allow transforming from a compoundCRS of a bound verticalCRS to a 2D CRS
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/coordinateoperation.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp index 6e6d4cec..6a05bbe8 100644 --- a/src/iso19111/coordinateoperation.cpp +++ b/src/iso19111/coordinateoperation.cpp @@ -12937,9 +12937,7 @@ CoordinateOperationFactory::Private::createOperations( auto vertCRSOfBaseOfBoundSrc = dynamic_cast<const crs::VerticalCRS *>(boundSrc->baseCRS().get()); - if (vertCRSOfBaseOfBoundSrc && hubSrcGeog && - hubSrcGeog->coordinateSystem()->axisList().size() == 3 && - geogDst->coordinateSystem()->axisList().size() == 3) { + if (vertCRSOfBaseOfBoundSrc && hubSrcGeog) { auto opsFirst = createOperations(sourceCRS, hubSrc, context); if (context.skipHorizontalTransformation) { if (!opsFirst.empty()) |
