aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testprojinfo
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-13 16:48:21 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-03-15 16:16:32 +0100
commiteda2311513a67d274d67f5ae8fb3042d78fe3b96 (patch)
treeb62511fa59b64b094eadc5f44b47997f2ee90c42 /test/cli/testprojinfo
parent80ef9cee87be3df8eb293e53a91992d6c19178bb (diff)
downloadPROJ-eda2311513a67d274d67f5ae8fb3042d78fe3b96.tar.gz
PROJ-eda2311513a67d274d67f5ae8fb3042d78fe3b96.zip
projinfo: add a --dump-db-structure switch
Diffstat (limited to 'test/cli/testprojinfo')
-rwxr-xr-xtest/cli/testprojinfo8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index a91c307a..adbebeec 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -288,6 +288,14 @@ echo 'Testing NKG: -s EPSG:7789 -t EPSG:4936 --area EPSG:1080 --summary --hide-
$EXE -s EPSG:7789 -t EPSG:4936 --area EPSG:1080 --summary --hide-ballpark >>${OUT} 2>&1
echo "" >>${OUT}
+echo "Testing projinfo --dump-db-structure | head -n 5" >> ${OUT}
+$EXE --dump-db-structure | head -n 5 >>${OUT}
+echo "" >>${OUT}
+
+echo "Testing projinfo --dump-db-structure --output-id HOBU:XXXX EPSG:4326 | tail -n 4" >> ${OUT}
+$EXE --dump-db-structure --output-id HOBU:XXXX EPSG:4326 | tail -n 4 >>${OUT}
+echo "" >>${OUT}
+
# do 'diff' with distribution results
echo "diff ${OUT} with testprojinfo_out.dist"
diff -u ${OUT} ${TEST_CLI_DIR}/testprojinfo_out.dist