aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/coordinateoperation.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-08-26 18:12:38 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-08-26 18:12:38 +0200
commit78302efb70eb4b49610cda6a60bf9ce39b82264f (patch)
tree1af45e6a740795b096d8ffd1a2cd5bf989884fe1 /src/iso19111/coordinateoperation.cpp
parent4d972f5d93857437c1b1b4912cc803df27f45a26 (diff)
downloadPROJ-78302efb70eb4b49610cda6a60bf9ce39b82264f.tar.gz
PROJ-78302efb70eb4b49610cda6a60bf9ce39b82264f.zip
createOperations(): fix pipeline generation when a CRS has terms like +datum=NAD27 and +over, where the datum was just replaced by its ellipsoid
Diffstat (limited to 'src/iso19111/coordinateoperation.cpp')
-rw-r--r--src/iso19111/coordinateoperation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp
index dc700445..e9524163 100644
--- a/src/iso19111/coordinateoperation.cpp
+++ b/src/iso19111/coordinateoperation.cpp
@@ -12064,7 +12064,7 @@ CoordinateOperationFactory::Private::createOperations(
}
auto projFormatter = io::PROJStringFormatter::create();
projFormatter->setCRSExport(true);
- projFormatter->setDropEarlyBindingsTerms(true);
+ projFormatter->setLegacyCRSToCRSContext(true);
projFormatter->startInversion();
sourceProjExportable->_exportToPROJString(projFormatter.get());
auto geogSrc =