diff options
Diffstat (limited to 'test')
| -rwxr-xr-x | test/cli/testprojinfo | 4 | ||||
| -rw-r--r-- | test/cli/testprojinfo_out.dist | 5 | ||||
| -rw-r--r-- | test/gie/nkg.gie | 17 |
3 files changed, 26 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. + diff --git a/test/gie/nkg.gie b/test/gie/nkg.gie index 7414914e..c4efcf75 100644 --- a/test/gie/nkg.gie +++ b/test/gie/nkg.gie @@ -201,6 +201,23 @@ tolerance 1 mm accept 3541657.3778 948984.2343 5201383.5231 2020.5 expect 3541657.3671 948984.2412 5201383.5058 2020.5 +# 2020 Transformations + +operation operation urn:ogc:def:coordinateOperation:NKG::ITRF2014_TO_NO +tolerance 0.1 mm + +# STAS +accept 3275753.4135 321111.2481 5445042.2134 2020.0 +expect 3275753.9111 321110.8658 5445041.8822 2020.0 + +# BOD3 +accept 2391773.9918 615615.1837 5860966.1279 2020.0 +expect 2391774.5535 615614.9100 5860965.8138 2020.0 + +# KAUS +accept 2107888.9134 895603.4769 5933242.6269 2020.0 +expect 2107889.5097 895603.2085 5933242.3152 2020.0 + # ------------------------------------------------------------------------------- # SWEDEN |
