diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-04-11 22:38:03 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-04-11 22:50:12 +0200 |
| commit | 2ac8170863c56de3f7995ac25e74c6fab8aaacad (patch) | |
| tree | e98b0cf4f20bde2413f4dfd729360a3523159ae6 /test | |
| parent | f683aa04d6f83a6da8e23def22ac8480ccf7d325 (diff) | |
| download | PROJ-2ac8170863c56de3f7995ac25e74c6fab8aaacad.tar.gz PROJ-2ac8170863c56de3f7995ac25e74c6fab8aaacad.zip | |
projinfo --list-crs --area: make it work when multiple areas matches the specified name
Diffstat (limited to 'test')
| -rwxr-xr-x | test/cli/testprojinfo | 5 | ||||
| -rw-r--r-- | test/cli/testprojinfo_out.dist | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index 0ee256a2..ce8cd762 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -362,6 +362,11 @@ echo 'Testing --list-crs projected --bbox -100,40,-90,41 --spatial-test intersec $EXE --list-crs projected --bbox -100,40,-90,41 --spatial-test intersects | grep "(2011).*Missouri East\|York" | sort >> ${OUT} echo "" >>${OUT} +# Test case where --area has several matches +echo 'Testing --list-crs projected --area France | grep "RGF93 / Lambert-93\|UTM zone 11N" | sort' >> ${OUT} +$EXE --list-crs projected --area France | grep "RGF93 / Lambert-93\|UTM zone 11N" | sort >> ${OUT} +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 3f549fd9..4f48b222 100644 --- a/test/cli/testprojinfo_out.dist +++ b/test/cli/testprojinfo_out.dist @@ -1654,3 +1654,6 @@ ESRI:104010 "GCS_IGS08" [deprecated] Testing --list-crs projected --bbox -100,40,-90,41 --spatial-test intersects | grep "(2011).*Missouri East\|York" | sort EPSG:6512 "NAD83(2011) / Missouri East" +Testing --list-crs projected --area France | grep "RGF93 / Lambert-93\|UTM zone 11N" | sort +EPSG:2154 "RGF93 / Lambert-93" + |
