diff options
| author | mbull <Michael.A.Bull@jpl.nasa.gov> | 2016-02-29 15:05:00 -0800 |
|---|---|---|
| committer | mbull <Michael.A.Bull@jpl.nasa.gov> | 2016-02-29 15:05:00 -0800 |
| commit | b1eda0e9a114367c52425d74211f6a1877fd136f (patch) | |
| tree | 1d2c6f760d2f03df8e3bfd54597394305094267a | |
| parent | d7047e260332c34456128e4b005f174434d54bab (diff) | |
| download | PROJ-b1eda0e9a114367c52425d74211f6a1877fd136f.tar.gz PROJ-b1eda0e9a114367c52425d74211f6a1877fd136f.zip | |
Add test
| -rwxr-xr-x | nad/testvarious | 20 | ||||
| -rw-r--r-- | nad/tv_out.dist | 10 |
2 files changed, 28 insertions, 2 deletions
diff --git a/nad/testvarious b/nad/testvarious index 972dc222..0f3384c2 100755 --- a/nad/testvarious +++ b/nad/testvarious @@ -767,6 +767,26 @@ $EXE -f '%.7f' \ -E >> ${OUT} <<EOF 2680778.57267967 6132228.07645127 0. EOF +############################################################################## +echo "##############################################################" >> ${OUT} +echo "Test misrsom forward projection" >> ${OUT} +# +$EXE -f '%.7f' \ + +proj=latlong +datum=WGS84 +no_defs +to \ + +proj=misrsom +path=41 +ellps=WGS84 +units=m \ + -E >> ${OUT} <<EOF +48.64966165540372 66.2263195368941 0. +EOF +############################################################################## +echo "##############################################################" >> ${OUT} +echo "Test misrsom inverse projection" >> ${OUT} +# +$EXE -f '%.7f' \ + +proj=misrsom +path=41 +ellps=WGS84 +units=m +no_defs +to \ + +proj=latlong +datum=WGS84 -f '%0.7f' \ + -E >> ${OUT} <<EOF +7461300.0 528000.0 0.0 +EOF # Done! diff --git a/nad/tv_out.dist b/nad/tv_out.dist index e58f6da1..3dca88c9 100644 --- a/nad/tv_out.dist +++ b/nad/tv_out.dist @@ -347,7 +347,13 @@ Test issue #316 (switch utm to use etmerc) 0 83 145723.870553 9300924.845226 0.000000 ############################################################## Test nzmg forward projection -175. -40. 0. 2680778.5726797 6132228.0764513 0.0000000 +175. -40. 0. 2680778.5726797 6132228.0764513 0.0000000 ############################################################## Test nzmg inverse projection -2680778.57267967 6132228.07645127 0. 175.0000000 -40.0000000 0.0000000 +2680778.57267967 6132228.07645127 0. 175.0000000 -40.0000000 0.0000000 +############################################################## +Test misrsom forward projection +48.64966165540372 66.2263195368941 0. 7461299.8819401 528000.0550107 0.0000000 +############################################################## +Test misrsom inverse projection +7461300.0 528000.0 0.0 48.6496622 66.2263207 0.0000000 |
