diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-01-12 11:14:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-12 11:14:55 +0100 |
| commit | fc632783489a9c4f17d83dbffe486bc988042906 (patch) | |
| tree | 87dd1fc9656ec712a7b81f120203250587166d05 /src/iso19111/io.cpp | |
| parent | 10fc60fdce62520230039345db0446738e77afca (diff) | |
| parent | 7ab63b60f656811ee7960a9e7ba07401d61053cd (diff) | |
| download | PROJ-fc632783489a9c4f17d83dbffe486bc988042906.tar.gz PROJ-fc632783489a9c4f17d83dbffe486bc988042906.zip | |
Merge pull request #3010 from rouault/fix_2739
Implement Geographic3D to Depth/Geog2D+Depth as used by ETRS89 to CD Norway depth
Diffstat (limited to 'src/iso19111/io.cpp')
| -rw-r--r-- | src/iso19111/io.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp index fc92dbbd..a7fedb91 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -7674,6 +7674,13 @@ const std::string &PROJStringFormatter::toString() const { continue; } + // axisswap order=1,2,-3 is its own inverse + if (step.name == "axisswap" && paramCount == 1 && + step.paramValues[0].equals("order", "1,2,-3")) { + step.inverted = false; + continue; + } + // handle unitconvert inverse if (step.name == "unitconvert" && paramCount == 2 && step.paramValues[0].keyEquals("xy_in") && |
