diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-09 23:27:39 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-09 23:27:39 +0100 |
| commit | 6d5924842035ae6b5af8a6685f5c531e667c7f18 (patch) | |
| tree | d259e2dcb48cf991f24945525e1a88574d53cc4b /src | |
| parent | 5b75e5fdccc531f7b0e3dcd636fa1ff3500bb071 (diff) | |
| download | PROJ-6d5924842035ae6b5af8a6685f5c531e667c7f18.tar.gz PROJ-6d5924842035ae6b5af8a6685f5c531e667c7f18.zip | |
createOperations(): fix a particular case of boundcrs to boundcrs transformation (fixes #1220)
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/crs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index 6776093a..81c70b7a 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -3673,8 +3673,8 @@ BoundCRSNNPtr BoundCRS::createFromNadgrids(const CRSNNPtr &baseCRSIn, operation::Transformation::createNTv2( util::PropertyMap().set(common::IdentifiedObject::NAME_KEY, transformationName), - baseCRSIn, GeographicCRS::EPSG_4326, filename, - std::vector<metadata::PositionalAccuracyNNPtr>())); + NN_NO_CHECK(transformationSourceCRS), GeographicCRS::EPSG_4326, + filename, std::vector<metadata::PositionalAccuracyNNPtr>())); } // --------------------------------------------------------------------------- |
