diff options
| author | Jeff Whitaker <jswhit@fastmail.fm> | 2015-12-13 10:12:59 -0700 |
|---|---|---|
| committer | Jeff Whitaker <jswhit@fastmail.fm> | 2015-12-13 10:12:59 -0700 |
| commit | f8feacc4a71b1224ee1fe8b2bb5e79fd3bddefb2 (patch) | |
| tree | c463bc75c51f0c00b8a17ba1e6c142805a568c8a /nad/testvarious | |
| parent | 82d76066b36d4b24518c7ba04b37bf0e588a4d59 (diff) | |
| download | PROJ-f8feacc4a71b1224ee1fe8b2bb5e79fd3bddefb2.tar.gz PROJ-f8feacc4a71b1224ee1fe8b2bb5e79fd3bddefb2.zip | |
add test for hammer projection (forward and inverse)
Diffstat (limited to 'nad/testvarious')
| -rwxr-xr-x | nad/testvarious | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nad/testvarious b/nad/testvarious index 4f3ca324..972dc222 100755 --- a/nad/testvarious +++ b/nad/testvarious @@ -266,6 +266,22 @@ $EXE +proj=robin +datum=WGS84 \ 1741397.30 4276351.58 0.00 EOF echo "##############################################################" >> ${OUT} +echo "Test hammer projection (pull request #329)" >> ${OUT} +$EXE +proj=latlong +datum=WGS84 \ + +to +proj=hammer +datum=WGS84 \ + -E >>${OUT} <<EOF +-30 40 +-35 45 +20 40 +EOF +$EXE +proj=hammer +datum=WGS84 \ + +to +proj=latlong +datum=WGS84 \ + -E >>${OUT} <<EOF +-2711575.08 4395506.62 0.00 +-2964412.70 4929091.33 0.00 +1811748.54 4377349.50 0.00 +EOF +echo "##############################################################" >> ${OUT} echo "Test healpix forward projection on sphere" >> ${OUT} $EXE +proj=latlong +a=1 +lon_0=0 \ +to +proj=healpix +a=1 +lon_0=0 -f '%.'5'f' \ |
