diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-25 16:23:31 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-12-25 16:23:31 +0100 |
| commit | b8f8a708c2299ba55b3d4754aa75633e3ee5897b (patch) | |
| tree | d8e928d607729cc440d8f245b2d25602169cddef /test/cli/testntv2 | |
| parent | 1003bf3abd3ac032706179fe3613af47a94ba98e (diff) | |
| download | PROJ-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/testntv2')
| -rwxr-xr-x | test/cli/testntv2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/cli/testntv2 b/test/cli/testntv2 index ab72d199..72a0f9a2 100755 --- a/test/cli/testntv2 +++ b/test/cli/testntv2 @@ -65,6 +65,14 @@ echo Attempt first with ntv2_0.gsb and then conus >> ${OUT} $EXE +proj=longlat +datum=NAD27 +to +proj=longlat +datum=WGS84 -E -d 8 >>${OUT} <<EOF -111.5 45.26 EOF +# +echo "##############################################################" >> ${OUT} +echo "NAD27 -> NAD83: 1st through ntv2, 2nd through conus" >> ${OUT} +# +$EXE NAD27 NAD83 -E >>${OUT} <<EOF +55d00'00.000"N 111d00'00.000"W 0.0 +39d00'00.000"N 111d00'00.000"W 0.0 +EOF # ############################################################################## |
