From 4969076c15f73371401ee65f2e4617439239cd8b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 22 Oct 2020 23:20:25 +0200 Subject: Database: import ESRI VERTCS that uses a (geodetic) datum to express ellipsoidal height --- test/cli/testprojinfo | 8 ++++++++ test/cli/testprojinfo_out.dist | 14 ++++++++++++++ 2 files changed, 22 insertions(+) (limited to 'test/cli') 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 -- cgit v1.2.3