aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-23 10:28:05 +0200
committerGitHub <noreply@github.com>2020-10-23 10:28:05 +0200
commitaaa159247b5595b84c05f603bebc07201be335f4 (patch)
tree9394fb47beeb183279d30faba6d531035e596f0a /test/cli
parent4fa0c250c125b8b034e0a17d2d03909dafdb6813 (diff)
parent6351422cc2108072162f7b8cdff12916723ccc20 (diff)
downloadPROJ-aaa159247b5595b84c05f603bebc07201be335f4.tar.gz
PROJ-aaa159247b5595b84c05f603bebc07201be335f4.zip
Merge pull request #2389 from rouault/wkt_parse_implict_compound_crs_esri
WKT1_ESRI: fix import and export of CompoundCRS
Diffstat (limited to 'test/cli')
-rwxr-xr-xtest/cli/testprojinfo8
-rw-r--r--test/cli/testprojinfo_out.dist14
2 files changed, 22 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index 19d96735..043e5724 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -175,6 +175,14 @@ echo 'Testing -k operation EPSG:8457 -o PROJ -q' >> ${OUT}
$EXE -k operation EPSG:8457 -o PROJ -q >>${OUT} 2>&1
echo "" >>${OUT}
+echo 'Testing D_WGS_1984' >> ${OUT}
+$EXE D_WGS_1984 >>${OUT} 2>&1
+echo "" >>${OUT}
+
+echo 'Testing -k datum D_WGS_1984' >> ${OUT}
+$EXE -k datum D_WGS_1984 >>${OUT} 2>&1
+echo "" >>${OUT}
+
# Testing --searchpaths
if ! $EXE --searchpaths > testprojinfo_out_searchpaths.txt; then
echo "--searchpaths failed"
diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist
index b4d19002..3025295b 100644
--- a/test/cli/testprojinfo_out.dist
+++ b/test/cli/testprojinfo_out.dist
@@ -1191,6 +1191,20 @@ Testing -k operation EPSG:8457 -o PROJ -q
+step +proj=unitconvert +xy_in=rad +xy_out=deg
+step +proj=axisswap +order=2,1
+Testing D_WGS_1984
+WKT2:2019 string:
+DATUM["World Geodetic System 1984",
+ ELLIPSOID["WGS 84",6378137,298.257223563,
+ LENGTHUNIT["metre",1]],
+ ID["EPSG",6326]]
+
+Testing -k datum D_WGS_1984
+WKT2:2019 string:
+DATUM["World Geodetic System 1984",
+ ELLIPSOID["WGS 84",6378137,298.257223563,
+ LENGTHUNIT["metre",1]],
+ ID["EPSG",6326]]
+
Testing -s NZGD2000 -t ITRF96 -o PROJ -q
+proj=pipeline
+step +proj=unitconvert +xy_in=deg +xy_out=rad