aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testprojinfo
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-11-18 21:11:27 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-11-18 21:11:27 +0100
commit0d7e238deaaca4c55cde63408d9985496d99c68f (patch)
tree9e2eba1b93933c4ac034766b79ef292bc37a6373 /test/cli/testprojinfo
parent2b9b65d0ffbe685fc33857df0f48a387d4611483 (diff)
downloadPROJ-0d7e238deaaca4c55cde63408d9985496d99c68f.tar.gz
PROJ-0d7e238deaaca4c55cde63408d9985496d99c68f.zip
createOperations(): fix so that GDA94 -> WGS 84 (G1762) still include a result through ITRF2008. Was broken in master by the addition of the 'WGS84 -> WGS 84 (Gxxx)' null operations in the PROJ authority
Diffstat (limited to 'test/cli/testprojinfo')
-rwxr-xr-xtest/cli/testprojinfo4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index 3cb001d7..178d3076 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -135,6 +135,10 @@ echo "Testing -s "+proj=longlat +datum=WGS84 +geoidgrids=@foo.gtx +type=crs" -t
$EXE -s "+proj=longlat +datum=WGS84 +geoidgrids=@foo.gtx +type=crs" -t EPSG:4326 -o PROJ -q >>${OUT} 2>&1
echo "" >>${OUT}
+echo 'Testing -s "GDA94" -t "WGS 84 (G1762)" --spatial-test intersects --summary. Should include a transformation with Inverse of ITRF2008 to GDA94 (1) + Inverse of WGS 84 (G1762) to ITRF2008 (1)' >> ${OUT}
+$EXE -s "GDA94" -t "WGS 84 (G1762)" --spatial-test intersects --summary >>${OUT} 2>&1
+echo "" >>${OUT}
+
# do 'diff' with distribution results
echo "diff ${OUT} with testprojinfo_out.dist"
diff -u ${OUT} ${TEST_CLI_DIR}/testprojinfo_out.dist