diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-20 20:37:49 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-10-20 20:37:49 +0200 |
| commit | 6b8ef545c4200180cc1b4bf7179d0b0951029ae5 (patch) | |
| tree | fa78e948e5109a07edeb787ee3a404a3d088a46e | |
| parent | d18c1972dfe480847353c03a5c4aa259e7d1b482 (diff) | |
| download | PROJ-6b8ef545c4200180cc1b4bf7179d0b0951029ae5.tar.gz PROJ-6b8ef545c4200180cc1b4bf7179d0b0951029ae5.zip | |
projinfo: make '-q -o WKT1:ESRI' work
| -rw-r--r-- | src/apps/projinfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/apps/projinfo.cpp b/src/apps/projinfo.cpp index ee48a69c..e8c97576 100644 --- a/src/apps/projinfo.cpp +++ b/src/apps/projinfo.cpp @@ -1145,8 +1145,10 @@ int main(int argc, char **argv) { } if (outputOpt.quiet && - (outputOpt.PROJ5 + outputOpt.WKT2_2019 + outputOpt.WKT2_2015 + - outputOpt.WKT1_GDAL + outputOpt.PROJJSON) != 1) { + (outputOpt.PROJ5 + outputOpt.WKT2_2019 + + outputOpt.WKT2_2019_SIMPLIFIED + outputOpt.WKT2_2015 + + outputOpt.WKT2_2015_SIMPLIFIED + outputOpt.WKT1_GDAL + + outputOpt.WKT1_ESRI + outputOpt.PROJJSON) != 1) { std::cerr << "-q can only be used with a single output format" << std::endl; usage(); |
