diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-03-16 00:21:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-16 00:21:00 +0100 |
| commit | a2d45bb42cfabf0b5b82b8448f42dc27cf0fe76e (patch) | |
| tree | 10f58ee3578d5faf6c9795f0ef76a4cc3ac263e7 /src | |
| parent | 8f614bb9e4b7628f5363ccb48a33ba771704b988 (diff) | |
| parent | efc958e953b8c4a7fe9eaa7015d94c8456968bd4 (diff) | |
| download | PROJ-a2d45bb42cfabf0b5b82b8448f42dc27cf0fe76e.tar.gz PROJ-a2d45bb42cfabf0b5b82b8448f42dc27cf0fe76e.zip | |
Merge pull request #3110 from OSGeo/backport-3108-to-9.0
[Backport 9.0] createOperations(): fix issue in transformation northing,easting projected CRS -> +proj=longlat +lon_wrap (fixes #3095)
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/crs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp index 881aec0b..e4b8094f 100644 --- a/src/iso19111/crs.cpp +++ b/src/iso19111/crs.cpp @@ -4404,7 +4404,8 @@ void ProjectedCRS::addUnitConvertAndAxisSwap(io::PROJStringFormatter *formatter, formatter->addParam("units", "m"); } - if (!axisSpecFound && !formatter->getCRSExport()) { + if (!axisSpecFound && + (!formatter->getCRSExport() || formatter->getLegacyCRSToCRSContext())) { const auto &dir0 = axisList[0]->direction(); const auto &dir1 = axisList[1]->direction(); if (!(&dir0 == &cs::AxisDirection::EAST && |
