From b8f8a708c2299ba55b3d4754aa75633e3ee5897b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 25 Dec 2019 16:23:31 +0100 Subject: 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. --- travis/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'travis') diff --git a/travis/install.sh b/travis/install.sh index c41dc014..e4781d52 100755 --- a/travis/install.sh +++ b/travis/install.sh @@ -15,6 +15,7 @@ echo "NPROC=${NPROC}" # Download grid files wget https://download.osgeo.org/proj/proj-datumgrid-1.8.zip +wget "https://github.com/OSGeo/proj-datumgrid/blob/master/north-america/ntv2_0.gsb?raw=true" -O ntv2_0.gsb # prepare build files ./autogen.sh @@ -95,7 +96,7 @@ cd .. cd ../.. # Install grid files -(cd data && unzip -o ../proj-datumgrid-1.8.zip) +(cd data && unzip -o ../proj-datumgrid-1.8.zip && cp ../ntv2_0.gsb . ) # autoconf build with grids mkdir build_autoconf_grids -- cgit v1.2.3