From 62038f4a38770670870b3aabad9d36c24fe909e0 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 28 Mar 2021 23:30:40 +0200 Subject: createOperation(): make sure no to discard deprecated operations... if the replacement uses a grid unknown to us. Fixes issue reported at https://lists.osgeo.org/pipermail/gdal-dev/2021-March/053771.html The issue comes from the fact that EPSG has created 2 transformations using grids BALR2009.gsb ad PENR2009.gsb that supersede the one which uses the single grid SPED2ETV2 we have in PROJ-data. --- test/cli/testprojinfo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/cli/testprojinfo') diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index 1e964a5b..8e2c8735 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -280,6 +280,11 @@ 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 -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 -- cgit v1.2.3