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 /travis | |
| 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 'travis')
| -rwxr-xr-x | travis/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
