aboutsummaryrefslogtreecommitdiff
path: root/test/cli/testdatumfile
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-25 16:23:31 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-25 16:23:31 +0100
commitb8f8a708c2299ba55b3d4754aa75633e3ee5897b (patch)
treed8e928d607729cc440d8f245b2d25602169cddef /test/cli/testdatumfile
parent1003bf3abd3ac032706179fe3613af47a94ba98e (diff)
downloadPROJ-b8f8a708c2299ba55b3d4754aa75633e3ee5897b.tar.gz
PROJ-b8f8a708c2299ba55b3d4754aa75633e3ee5897b.zip
Database: tune accuracy of Canadian NTv1 file w.r.t NTv2
As on import of EPSG, we remove the supersession of Canadian NTv1 file w.r.t NTv2 (because the default behaviour of PROJ is to ignore superseded operations). However the NTv1 operation is advertized with an accuracy of 1m, whereas NTv2 is advertized with 1.5m. Consequently on areas where both files are valid, and if both files are available, NTv1 would be selected. So as a workaround, worsen the NTv1 accuracy to 2m so that NTv2 is used in priority.
Diffstat (limited to 'test/cli/testdatumfile')
-rwxr-xr-xtest/cli/testdatumfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cli/testdatumfile b/test/cli/testdatumfile
index 29a40876..e4b9ea2d 100755
--- a/test/cli/testdatumfile
+++ b/test/cli/testdatumfile
@@ -98,9 +98,9 @@ $EXE +proj=latlong +datum=WGS84 \
EOF
#
echo "##############################################################" >> ${OUT}
-echo "NAD27 -> NAD83: 1st through ntv1, 2nd through conus" >> ${OUT}
+echo "NAD27 -> NAD83: 1st through ntv1 or ntv2, 2nd through conus" >> ${OUT}
#
-$EXE NAD27 NAD83 -E >>${OUT} <<EOF
+$EXE NAD27 NAD83 -E -f "%.4f" >>${OUT} <<EOF
55d00'00.000"N 111d00'00.000"W 0.0
39d00'00.000"N 111d00'00.000"W 0.0
EOF