diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 10:58:13 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-22 10:58:13 +0100 |
| commit | c048292f3b8e408e6a81700a74d9b44d532227ac (patch) | |
| tree | 4793063b442e2768d7bea3fd1c96f80a55140093 /src/iso19111/crs.cpp | |
| parent | 5c86b290e2c5686cbf5100eb71e32b0362a989fc (diff) | |
| download | PROJ-c048292f3b8e408e6a81700a74d9b44d532227ac.tar.gz PROJ-c048292f3b8e408e6a81700a74d9b44d532227ac.zip | |
Coordinate operation computation with boundcrs / wktext: drop useless early bindins terms in generated pipeline (fixes #1232)
Diffstat (limited to 'src/iso19111/crs.cpp')
| -rw-r--r-- | src/iso19111/crs.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index 74b94a1f..adb441cd 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -1653,8 +1653,7 @@ CRSNNPtr GeographicCRS::_shallowClone() const { * * @return a EllipsoidalCS. */ -const cs::EllipsoidalCSNNPtr & -GeographicCRS::coordinateSystem() PROJ_PURE_DEFN { +const cs::EllipsoidalCSNNPtr &GeographicCRS::coordinateSystem() PROJ_PURE_DEFN { return d->coordinateSystem_; } @@ -3767,6 +3766,11 @@ void BoundCRS::_exportToPROJString( "baseCRS of BoundCRS cannot be exported as a PROJ string"); } + if (formatter->getDropEarlyBindingsTerms()) { + crs_exportable->_exportToPROJString(formatter); + return; + } + auto vdatumProj4GridName = getVDatumPROJ4GRIDS(); if (!vdatumProj4GridName.empty()) { formatter->setVDatumExtension(vdatumProj4GridName); |
