diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-03 17:52:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-03 17:52:57 +0100 |
| commit | cb4e77d58f2a791c24e232792c1671d6b9f4a477 (patch) | |
| tree | c599d52dbd53dd7b621eeca7f68eb361627b4477 /test | |
| parent | a0de56228be06427c7870cbc1923b11dad11856e (diff) | |
| parent | 1d2b1884b05cf29991bf1ad420829f0f56cf9a2b (diff) | |
| download | PROJ-cb4e77d58f2a791c24e232792c1671d6b9f4a477.tar.gz PROJ-cb4e77d58f2a791c24e232792c1671d6b9f4a477.zip | |
Merge pull request #1761 from rouault/register_ausgeoid
Database: register AUSGeoid09 and AUSGeoid2020
Diffstat (limited to 'test')
| -rwxr-xr-x | test/cli/testprojinfo | 8 | ||||
| -rw-r--r-- | test/cli/testprojinfo_out.dist | 20 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index 9d0ce52d..4ce5e90c 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -147,6 +147,14 @@ echo 'Testing -s EPSG:31467 -t ETRS89 --spatial-test intersects --grid-check non $EXE -s EPSG:31467 -t ETRS89 --spatial-test intersects --grid-check none --bbox 8,48,9,49 --summary >>${OUT} 2>&1 echo "" >>${OUT} +echo 'Testing -s "GDA94" -t "AHD height" --grid-check none -o PROJ --spatial-test intersects' >> ${OUT} +$EXE -s "GDA94" -t "AHD height" --grid-check none -o PROJ --spatial-test intersects >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -s "GDA2020" -t "AHD height" --grid-check none -o PROJ --spatial-test intersects' >> ${OUT} +$EXE -s "GDA2020" -t "AHD height" --grid-check none -o PROJ --spatial-test intersects >>${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 8b17c0e7..25b29a79 100644 --- a/test/cli/testprojinfo_out.dist +++ b/test/cli/testprojinfo_out.dist @@ -1078,3 +1078,23 @@ unknown id, Inverse of 3-degree Gauss-Kruger zone 3 + DHDN to ETRS89 (8), 0.9 m, unknown id, Inverse of 3-degree Gauss-Kruger zone 3 + DHDN to ETRS89 (3), 1 m, Germany - West Germany S unknown id, Inverse of 3-degree Gauss-Kruger zone 3 + DHDN to ETRS89 (2), 3 m, Germany - West Germany all states +Testing -s "GDA94" -t "AHD height" --grid-check none -o PROJ --spatial-test intersects +Candidate operations found: 1 +------------------------------------- +Operation n°1: + +DERIVED_FROM(EPSG):5656, GDA94 to AHD height (49), 0.03 m, Australia - mainland + +PROJ string: ++proj=pipeline +step +inv +proj=vgridshift +grids=AUSGeoid09_V1.01.gtx +multiplier=1 + +Testing -s "GDA2020" -t "AHD height" --grid-check none -o PROJ --spatial-test intersects +Candidate operations found: 1 +------------------------------------- +Operation n°1: + +DERIVED_FROM(EPSG):8451, GDA2020 to AHD height (1), 0.03 m, Australia Christmas and Cocos - onshore + +PROJ string: ++proj=pipeline +step +inv +proj=vgridshift +grids=AUSGeoid2020_20180201.gtx +multiplier=1 + |
