diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-09-15 00:29:05 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-09-15 00:29:05 +0200 |
| commit | d3c615f9ce893c9dc1e6314b9542f510bfd0f023 (patch) | |
| tree | 77e23e6f0c88c2c4126ae9fc20002ea775b394d9 /test/cli | |
| parent | 7f0946ab38ad7dd5077a3970e7ed5f647365fa7b (diff) | |
| download | PROJ-d3c615f9ce893c9dc1e6314b9542f510bfd0f023.tar.gz PROJ-d3c615f9ce893c9dc1e6314b9542f510bfd0f023.zip | |
test/cli/testvarious: make one test more robust regarding EPSG updates
Diffstat (limited to 'test/cli')
| -rwxr-xr-x | test/cli/testvarious | 11 | ||||
| -rw-r--r-- | test/cli/tv_out.dist | 7 |
2 files changed, 8 insertions, 10 deletions
diff --git a/test/cli/testvarious b/test/cli/testvarious index 80340369..cbfb2d55 100755 --- a/test/cli/testvarious +++ b/test/cli/testvarious @@ -1011,14 +1011,13 @@ EOF echo "##############################################################" >> ${OUT} echo "Test effect of --authority (https://github.com/OSGeo/PROJ/issues/2442)" >> ${OUT} -echo "This test might be a bit fragile if proj.db content changes" >> ${OUT} -echo "The first result should use the 'WGS_1984_(ITRF08)_To_NAD_1983_2011' (ESRI:108363) operation" >> ${OUT} +echo "The first result should use the EPSG:8076 operation" >> ${OUT} echo "and the second one a no-op" >> ${OUT} -$EXE -E +proj=latlong +datum=WGS84 +no_defs +to +init=epsg:6342 >> ${OUT} <<EOF --105 40 +$EXE -E ITRF96 ITRF2014 >> ${OUT} <<EOF +49 2 EOF -$EXE --authority EPSG -E +proj=latlong +datum=WGS84 +no_defs +to +init=epsg:6342 >> ${OUT} <<EOF --105 40 +$EXE --authority PROJ -E ITRF96 ITRF2014 >> ${OUT} <<EOF +49 2 EOF echo "##############################################################" >> ${OUT} diff --git a/test/cli/tv_out.dist b/test/cli/tv_out.dist index 06aa1a2d..a0009dab 100644 --- a/test/cli/tv_out.dist +++ b/test/cli/tv_out.dist @@ -487,11 +487,10 @@ Test Colombia Urban 4.8 -74.25 122543.174 80859.033 0.000 ############################################################## Test effect of --authority (https://github.com/OSGeo/PROJ/issues/2442) -This test might be a bit fragile if proj.db content changes -The first result should use the 'WGS_1984_(ITRF08)_To_NAD_1983_2011' (ESRI:108363) operation +The first result should use the EPSG:8076 operation and the second one a no-op --105 40 500000.86 4427756.50 0.00 --105 40 500000.00 4427757.22 0.00 +49 2 49d0'0.002"N 2dE 0.018 +49 2 49dN 2dE 0.000 ############################################################## Test effect of --accuracy ############################################################## |
