aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
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