aboutsummaryrefslogtreecommitdiff
path: root/test/cli
diff options
context:
space:
mode:
authorSveinung Himle <56073535+himsve@users.noreply.github.com>2021-03-11 10:48:49 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-03-23 15:52:34 +0100
commiteeb9fef28aed4f7e5d62d8c5064f96e1090ee348 (patch)
tree651ff0432c1be5325458cb3176f32cdd8474c65d /test/cli
parent8e9239cfe4045a638d0f9e018cdb7d3f3f9622a5 (diff)
downloadPROJ-eeb9fef28aed4f7e5d62d8c5064f96e1090ee348.tar.gz
PROJ-eeb9fef28aed4f7e5d62d8c5064f96e1090ee348.zip
Database: Additions to the norwegian NKG2020 transformation (#2548), and NGO48 to ETRS89 TIN transfrm (#2554)
* Correction grid NKG:ETRF14 to EPSG:7922 * Added NKG:ITRF_TO_NO GIE test * Correction grid no_kv_NKGETRF14_EPSG7922_2000 added to grid_alternatives.sql * proj_method 'velocity_grid' added in check_grid_alternatives_proj_method. NKG velocity grid added to grid_alternatives.sql * also include follow-up fix to master #2548: e10a849cd01c5b15e3123da1f6df845006322843 * Add NGO48 (EPSG:4273) to ETRS89 (EPSG:4258) triangulation-based transformation (#2554) Co-authored-by: Even Rouault <even.rouault@spatialys.com>
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 dc5c5e9e..cc82c116 100644
--- a/test/cli/testprojinfo_out.dist
+++ b/test/cli/testprojinfo_out.dist
@@ -1525,3 +1525,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.
+