aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-02-22 12:38:24 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-02-22 12:38:24 +0100
commit410631e5a25ae88f81545393240da86722f289f9 (patch)
treec68e5b10e74db047699b72705747f052f67a69d6 /test/cli
parent9cbe9bc5d77310c5d85226bb7f030d6dc847b28f (diff)
downloadPROJ-410631e5a25ae88f81545393240da86722f289f9.tar.gz
PROJ-410631e5a25ae88f81545393240da86722f289f9.zip
proj.db: tune so that 'NGF IGN69 height to RGF93' uses the RAF09.gtx grid
Diffstat (limited to 'test/cli')
-rwxr-xr-xtest/cli/testprojinfo4
-rw-r--r--test/cli/testprojinfo_out.dist26
2 files changed, 30 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index 0f987850..08ec9ce4 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -112,6 +112,10 @@ echo "Testing NAD83(2011) + NAVD88 height -> NAD83(2011) : projinfo -s EPSG:6349
$EXE -s EPSG:6349 -t EPSG:6319 --spatial-test intersects -o PROJ >>${OUT} 2>&1
echo "" >>${OUT}
+echo "Testing NGF IGN69 height to RGF93: projinfo -s EPSG:5720 -t EPSG:4965 -o PROJ" >> ${OUT}
+$EXE -s EPSG:5720 -t EPSG:4965 -o PROJ >>${OUT} 2>&1
+echo "" >>${OUT}
+
# do 'diff' with distribution results
echo "diff ${OUT} with testprojinfo_out.dist"
diff -u ${OUT} ${TEST_CLI_DIR}/testprojinfo_out.dist
diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist
index b22766d9..a2e2cab9 100644
--- a/test/cli/testprojinfo_out.dist
+++ b/test/cli/testprojinfo_out.dist
@@ -756,3 +756,29 @@ unknown id, Inverse of NAD83(2011) to NAVD88 height (2), 0.2 m, USA - Alaska
PROJ string:
+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=vgridshift +grids=g2012ba0.gtx +multiplier=1 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1
+Testing NGF IGN69 height to RGF93: projinfo -s EPSG:5720 -t EPSG:4965 -o PROJ
+Candidate operations found: 3
+-------------------------------------
+Operation n°1:
+
+INVERSE(DERIVED_FROM(EPSG)):8371, Inverse of RGF93 to NGF IGN69 height (2), 0.02 m, France - mainland onshore
+
+PROJ string:
++proj=vgridshift +grids=RAF09.gtx +multiplier=1
+
+-------------------------------------
+Operation n°2:
+
+INVERSE(EPSG):8885, Inverse of RGF93 to NGF IGN69 height (3), 0.01 m, France - mainland onshore
+
+PROJ string:
++proj=pipeline +step +inv +proj=vgridshift +grids=RAF18.tac +multiplier=1
+
+-------------------------------------
+Operation n°3:
+
+INVERSE(EPSG):10000, Inverse of RGF93 to NGF IGN69 height (1), 0.5 m, France - mainland onshore
+
+PROJ string:
++proj=pipeline +step +inv +proj=vgridshift +grids=ggf97a.txt +multiplier=1
+