[Proj] Mollweide projection: coordinate wrapping ?

Raspaud Martin martin.raspaud at smhi.se
Wed Jan 19 05:41:48 EST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I just noticed that coordinates are wrapped when using proj to compute
lon/lats from projection coordinates for the mollweide projection (I
have not checked with other projections though):

[a001673 at nrlx052 ~]$ proj +proj=moll +lon_0=0 +ellps=WGS84
180 0
18040095.70	0.00
180 45
14538644.71	5340244.91
180 90
0.00	9020047.85

[a001673 at nrlx052 ~]$ invproj +proj=moll +lon_0=0 +ellps=WGS84
15000000 5340244.91
174d17'16.995"W	45dN


when running invproj here, the x y value is outside the "main globe"
picture. The mathematical formula allows for this, but I was wondering
if there was a way to return * * instead when we go out from the "main
globe" ?

Thanks,
Martin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNNr/sAAoJEBdvyODiyJI4SMMH/17zwVwl0/TmYELErC5wr75z
7IaqyePyxYzpEKqjicQZYQ2mliws1GxsOYCuNYdwUPEmuHuQTQxtNVzR8baEW1ih
Nt4GrYldqsyR3/ll+IVC3oEUeKhMegGj7BfwYDEZKNmAuuw1458jUGOJtrW9IvCx
X0BE2nyk860uOA/LfXjdU53khJrHiuLunJg3OESFOFNhbs0p3893beL1/0wUYDWF
bIXJN/opgroN53V+4b8LKB7LyT8Fbl92hafDuApmFiS/qvx7fFmTj/BTG0QpLI1R
I5xyoy4feBdYzKCh2ADGJb/qda+W6bOKN0cD9CS1whTvFKQjQOEe61z23V3tmnw=
=36RB
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20110119/57fa901d/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: martin_raspaud.vcf
Type: text/x-vcard
Size: 260 bytes
Desc: martin_raspaud.vcf
Url : http://lists.maptools.org/pipermail/proj/attachments/20110119/57fa901d/attachment.vcf 


More information about the Proj mailing list