diff options
| author | Charles Karney <ckarney@karney.com> | 2015-10-24 11:36:25 -0400 |
|---|---|---|
| committer | Charles Karney <ckarney@karney.com> | 2015-10-24 11:36:25 -0400 |
| commit | b0fb037ea22e2e9452feda502455ac6110c3e1e3 (patch) | |
| tree | 9894bb2f23bb430641bf954976c4dbdf911e3a72 /nad/testvarious | |
| parent | f4b687baa69f7f76b0fc9ce5970890285090db9e (diff) | |
| download | PROJ-b0fb037ea22e2e9452feda502455ac6110c3e1e3.tar.gz PROJ-b0fb037ea22e2e9452feda502455ac6110c3e1e3.zip | |
Switch utm to use etmerc to address issue #316.
Add a test to check this. Output of an existing test changed in 7th
decimal place.
Diffstat (limited to 'nad/testvarious')
| -rwxr-xr-x | nad/testvarious | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/nad/testvarious b/nad/testvarious index c213456e..0ea4c133 100755 --- a/nad/testvarious +++ b/nad/testvarious @@ -675,19 +675,36 @@ echo "##############################################################" >> ${OUT} echo "Test bug 245 (use +datum=carthage)" >> ${OUT} # $EXE -f '%.7f' \ - +proj=longlat +datum=WGS84 +nodefs +to +proj=utm +zone=32 +datum=carthage +nodefs \ + +proj=longlat +datum=WGS84 +no_defs +to +proj=utm +zone=32 +datum=carthage +no_defs \ -E >>${OUT} <<EOF 10 34 EOF echo "##############################################################" >> ${OUT} -echo "Test bug 245 (use expension of +datum=carthage)" >> ${OUT} +echo "Test bug 245 (use expansion of +datum=carthage)" >> ${OUT} # $EXE -f '%.7f' \ - +proj=longlat +datum=WGS84 +nodefs +to +proj=utm +zone=32 +a=6378249.2 +b=6356515 +towgs84=-263.0,6.0,431.0 +nodefs \ + +proj=longlat +datum=WGS84 +no_defs +to +proj=utm +zone=32 +a=6378249.2 +b=6356515 +towgs84=-263.0,6.0,431.0 +no_defs \ -E >>${OUT} <<EOF 10 34 EOF ############################################################################## +echo "##############################################################" >> ${OUT} +echo "Test issue #316 (switch utm to use etmerc)" >> ${OUT} +# +$EXE -f '%.6f' \ + +proj=latlong +datum=WGS84 +no_defs +to +proj=utm +zone=35 +datum=WGS84 +no_defs \ + -E >>${OUT} <<EOF +0 83 +EOF +############################################################################## +echo "##############################################################" >> ${OUT} +echo "Test issue #316 (switch utm to use etmerc)" >> ${OUT} +# +$EXE -f '%.6f' \ + +proj=latlong +datum=WGS84 +no_defs +to +proj=etmerc +datum=WGS84 +no_defs +k=0.9996 +lon_0=27 +x_0=500000 -f %.6f \ + -E >>${OUT} <<EOF +0 83 +EOF # Done! # do 'diff' with distribution results echo "diff ${OUT} with ${OUT}.dist" |
