diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-10-23 17:44:51 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-10-23 17:44:51 +0200 |
| commit | e30be68ce18c9f41cf7b47bef0931441bab75c97 (patch) | |
| tree | d9d5205c8d0476e474175022dee9e04311929853 /test | |
| parent | 06162ef3cca9a4c716922a7a379ba502f7ef295a (diff) | |
| download | PROJ-e30be68ce18c9f41cf7b47bef0931441bab75c97.tar.gz PROJ-e30be68ce18c9f41cf7b47bef0931441bab75c97.zip | |
Database: add Finland tinshift operations
Diffstat (limited to 'test')
| -rwxr-xr-x | test/cli/testprojinfo | 35 | ||||
| -rw-r--r-- | test/cli/testprojinfo_out.dist | 61 |
2 files changed, 96 insertions, 0 deletions
diff --git a/test/cli/testprojinfo b/test/cli/testprojinfo index 043e5724..62713af5 100755 --- a/test/cli/testprojinfo +++ b/test/cli/testprojinfo @@ -236,6 +236,41 @@ echo 'Testing -s NZGD2000 -t ITRF2014 -o PROJ -q' >> ${OUT} $EXE -s NZGD2000 -t ITRF2014 -o PROJ -q >>${OUT} 2>&1 echo "" >>${OUT} +###################### +# Finland TINs +###################### + +echo 'Testing -s "KKJ / Finland Uniform Coordinate System" -t "ETRS89 / TM35FIN(E,N)" --grid-check none -o PROJ -q' >> ${OUT} +$EXE -s "KKJ / Finland Uniform Coordinate System" -t "ETRS89 / TM35FIN(E,N)" --grid-check none -o PROJ -q >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -s KKJ -t ETRS89 -o PROJ --grid-check none -q' >> ${OUT} +$EXE -s KKJ -t ETRS89 -o PROJ --grid-check none -q >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -s "KKJ + N43 height" -t "KKJ + N60 height" --grid-check none -o PROJ -q' >> ${OUT} +$EXE -s "KKJ + N43 height" -t "KKJ + N60 height" --grid-check none -o PROJ -q >>${OUT} 2>&1 +echo "" >>${OUT} + +echo 'Testing -s "KKJ + N60 height" -t "KKJ + N2000 height" --grid-check none -o PROJ -q' >> ${OUT} +$EXE -s "KKJ + N60 height" -t "KKJ + N2000 height" --grid-check none -o PROJ -q >>${OUT} 2>&1 +echo "" >>${OUT} + +# Advanced ! +echo 'Testing -s "KKJ + N43 height" -t "ETRS89 + N2000 height" --grid-check none -o PROJ -q' >> ${OUT} +$EXE -s "KKJ + N43 height" -t "ETRS89 + N2000 height" --grid-check none -o PROJ -q >>${OUT} 2>&1 +echo "" >>${OUT} + +# Advanced ! +echo 'Testing -s "KKJ / Finland Uniform Coordinate System + N43 height" -t "ETRS89 / TM35FIN(E,N) + N2000 height" --grid-check none -o PROJ -q' >> ${OUT} +$EXE -s "KKJ / Finland Uniform Coordinate System + N43 height" -t "ETRS89 / TM35FIN(E,N) + N2000 height" --grid-check none -o PROJ -q >>${OUT} 2>&1 +echo "" >>${OUT} + +# Advanced ! +echo 'Testing -s "ETRS89 / TM35FIN(E,N) + N2000 height" -t "KKJ / Finland Uniform Coordinate System + N43 height" --grid-check none -o PROJ -q' >> ${OUT} +$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} + # 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 3025295b..245bb258 100644 --- a/test/cli/testprojinfo_out.dist +++ b/test/cli/testprojinfo_out.dist @@ -1283,3 +1283,64 @@ Testing -s NZGD2000 -t ITRF2014 -o PROJ -q +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1 +Testing -s "KKJ / Finland Uniform Coordinate System" -t "ETRS89 / TM35FIN(E,N)" --grid-check none -o PROJ -q ++proj=pipeline + +step +proj=axisswap +order=2,1 + +step +proj=tinshift +file=fi_nls_ykj_etrs35fin.json + +Testing -s KKJ -t ETRS89 -o PROJ --grid-check none -q ++proj=pipeline + +step +proj=axisswap +order=2,1 + +step +proj=unitconvert +xy_in=deg +xy_out=rad + +step +proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=3500000 +y_0=0 +ellps=intl + +step +proj=tinshift +file=fi_nls_ykj_etrs35fin.json + +step +inv +proj=utm +zone=35 +ellps=GRS80 + +step +proj=unitconvert +xy_in=rad +xy_out=deg + +step +proj=axisswap +order=2,1 + +Testing -s "KKJ + N43 height" -t "KKJ + N60 height" --grid-check none -o PROJ -q ++proj=pipeline + +step +proj=axisswap +order=2,1 + +step +proj=unitconvert +xy_in=deg +xy_out=rad + +step +proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=3500000 +y_0=0 +ellps=intl + +step +proj=tinshift +file=fi_nls_n43_n60.json + +step +inv +proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=3500000 +y_0=0 +ellps=intl + +step +proj=unitconvert +xy_in=rad +xy_out=deg + +step +proj=axisswap +order=2,1 + +Testing -s "KKJ + N60 height" -t "KKJ + N2000 height" --grid-check none -o PROJ -q ++proj=pipeline + +step +proj=axisswap +order=2,1 + +step +proj=unitconvert +xy_in=deg +xy_out=rad + +step +proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=3500000 +y_0=0 +ellps=intl + +step +proj=tinshift +file=fi_nls_n60_n2000.json + +step +inv +proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=3500000 +y_0=0 +ellps=intl + +step +proj=unitconvert +xy_in=rad +xy_out=deg + +step +proj=axisswap +order=2,1 + +Testing -s "KKJ + N43 height" -t "ETRS89 + N2000 height" --grid-check none -o PROJ -q ++proj=pipeline + +step +proj=axisswap +order=2,1 + +step +proj=unitconvert +xy_in=deg +xy_out=rad + +step +proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=3500000 +y_0=0 +ellps=intl + +step +proj=tinshift +file=fi_nls_n43_n60.json + +step +proj=tinshift +file=fi_nls_n60_n2000.json + +step +proj=tinshift +file=fi_nls_ykj_etrs35fin.json + +step +inv +proj=utm +zone=35 +ellps=GRS80 + +step +proj=unitconvert +xy_in=rad +xy_out=deg + +step +proj=axisswap +order=2,1 + +Testing -s "KKJ / Finland Uniform Coordinate System + N43 height" -t "ETRS89 / TM35FIN(E,N) + N2000 height" --grid-check none -o PROJ -q ++proj=pipeline + +step +proj=axisswap +order=2,1 + +step +proj=tinshift +file=fi_nls_n43_n60.json + +step +proj=tinshift +file=fi_nls_n60_n2000.json + +step +proj=tinshift +file=fi_nls_ykj_etrs35fin.json + +Testing -s "ETRS89 / TM35FIN(E,N) + N2000 height" -t "KKJ / Finland Uniform Coordinate System + N43 height" --grid-check none -o PROJ -q ++proj=pipeline + +step +inv +proj=tinshift +file=fi_nls_ykj_etrs35fin.json + +step +inv +proj=tinshift +file=fi_nls_n60_n2000.json + +step +inv +proj=tinshift +file=fi_nls_n43_n60.json + +step +proj=axisswap +order=2,1 + |
