aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-29 12:31:54 +0200
committerGitHub <noreply@github.com>2021-03-29 12:31:54 +0200
commit381d4f6ff3d18efbcd4fdb626200dddab5f2c115 (patch)
treef90dbdb08caf8a8b26c2c4e5fbefc990a792cd5b /test
parent292943edbeabf10e79ecdf144f6bc32d07c8dd80 (diff)
parentb7f9a9b83464b6889f5a9e87519a0a0d73c959e2 (diff)
downloadPROJ-381d4f6ff3d18efbcd4fdb626200dddab5f2c115.tar.gz
PROJ-381d4f6ff3d18efbcd4fdb626200dddab5f2c115.zip
Merge pull request #2622 from rouault/fix_sped2etv2_supersession
createOperation(): make sure no to discard deprecated operations...
Diffstat (limited to 'test')
-rwxr-xr-xtest/cli/testprojinfo5
-rw-r--r--test/cli/testprojinfo_out.dist6
2 files changed, 11 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index 20c14a8e..fb4fef1f 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -305,6 +305,11 @@ unset PROJ_AUX_DB
rm -f tmp_projinfo_aux.db
echo "" >>${OUT}
+echo 'Testing -s EPSG:23030 -t EPSG:25830 --bbox -6,40,-5,41 --grid-check known_available --hide-ballpark --summary' >> ${OUT}
+echo 'Checks that ED50 to ETRS89 (12) is in the output (superseded transformation, but replacements has unknown grid)' >> ${OUT}
+$EXE -s EPSG:23030 -t EPSG:25830 --bbox -6,40,-5,41 --grid-check known_available --hide-ballpark --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
diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist
index fe0eb665..ed6a431a 100644
--- a/test/cli/testprojinfo_out.dist
+++ b/test/cli/testprojinfo_out.dist
@@ -1594,3 +1594,9 @@ GEOGCRS["WGS 84",
BBOX[-90,-180,90,180]],
ID["HOBU","XXXX"]]
+Testing -s EPSG:23030 -t EPSG:25830 --bbox -6,40,-5,41 --grid-check known_available --hide-ballpark --summary
+Checks that ED50 to ETRS89 (12) is in the output (superseded transformation, but replacements has unknown grid)
+Candidate operations found: 2
+unknown id, Inverse of UTM zone 30N + ED50 to ETRS89 (12) + UTM zone 30N, 0.2 m, Spain - mainland, Balearic Islands, Ceuta and Melila - onshore.
+unknown id, Inverse of UTM zone 30N + ED50 to ETRS89 (7) + UTM zone 30N, 1.5 m, Spain - onshore mainland except northwest (north of 41°30'N and west of 4°30'W).
+