aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-11 16:12:30 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-03-11 16:12:30 +0100
commite10a849cd01c5b15e3123da1f6df845006322843 (patch)
treeaf9a7342e034ee9c4cbb4a97df750d6a82862efa /test/cli
parent763939849bd8e079a6ed73d8f6ef0be0286e99d5 (diff)
downloadPROJ-e10a849cd01c5b15e3123da1f6df845006322843.tar.gz
PROJ-e10a849cd01c5b15e3123da1f6df845006322843.zip
Database: fix NKG transformations
Diffstat (limited to 'test/cli')
-rwxr-xr-xtest/cli/testprojinfo4
-rw-r--r--test/cli/testprojinfo_out.dist5
2 files changed, 9 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo
index e11989cd..1e964a5b 100755
--- a/test/cli/testprojinfo
+++ b/test/cli/testprojinfo
@@ -275,6 +275,10 @@ echo 'Testing -s "ETRS89 / TM35FIN(E,N) + N2000 height" -t "KKJ / Finland Unifor
$EXE -s "ETRS89 / TM35FIN(E,N) + N2000 height" -t "KKJ / Finland Uniform Coordinate System + N43 height" --grid-check none -o PROJ -q >>${OUT} 2>&1
echo "" >>${OUT}
+# Quick check of NKG transformations
+echo 'Testing NKG: -s EPSG:7789 -t EPSG:4936 --area EPSG:1080 --summary --hide-ballpark' >> ${OUT}
+$EXE -s EPSG:7789 -t EPSG:4936 --area EPSG:1080 --summary --hide-ballpark >>${OUT} 2>&1
+echo "" >>${OUT}
# do 'diff' with distribution results
echo "diff ${OUT} with testprojinfo_out.dist"
diff --git a/test/cli/testprojinfo_out.dist b/test/cli/testprojinfo_out.dist
index 42d1096a..920374d9 100644
--- a/test/cli/testprojinfo_out.dist
+++ b/test/cli/testprojinfo_out.dist
@@ -1521,3 +1521,8 @@ Testing -s "ETRS89 / TM35FIN(E,N) + N2000 height" -t "KKJ / Finland Uniform Coor
+step +inv +proj=tinshift +file=fi_nls_n43_n60.json
+step +proj=axisswap +order=2,1
+Testing NKG: -s EPSG:7789 -t EPSG:4936 --area EPSG:1080 --summary --hide-ballpark
+Candidate operations found: 1
+Note: using '--spatial-test intersects' would bring more results (2)
+NKG:ITRF2014_TO_DK, ITRF2014 to ETRS89(DK), 0.01 m, Denmark - onshore and offshore.
+