<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16535"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT color=#a70401 size=2>Martin,</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2>Jerry's initialization code has the following
code:</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2> public void initialize()
{<BR> super.initialize();<BR> if (winkel)
{<BR>//FIXME<BR>// if (pj_param(P->params,
"tlat_1").i)<BR>// if ((cosphi1 =
Math.cos(pj_param(P->params, "rlat_1").f)) ==
0.)<BR>// throw new
IllegalArgumentException("-22")<BR>// else /* 50d28' or
acos(2/pi) */<BR> cosphi1 =
0.636619772367581343;<BR> }<BR> }</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2>Based on my reading of the Proj4 manuals I
changed it to read:</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2> public void initialize()
{<BR> super.initialize();<BR> if (winkel)
{<BR>/*<BR>Winkel Tripel is the arithmetic mean of the Aitoff and<BR>Equidistant
Cylindrical projections with the latter’s phi_ts<BR>(latitude of true scale)
becoming phi_1. If lat_1=phi_1 is<BR>not specified, Winkel’s value ofphi _1 =
cos-1(2/pi) or<BR>50 27 35. is used. For Bartholomew’s variant, use
lat_1=40.<BR>Proj4 Manual pg 17 fwp<BR> */<BR> cosphi1 =
Math.cos(projectionLatitude);<BR> }<BR> }<BR></FONT></DIV>
<DIV><FONT color=#a70401 size=2>In addition, I added :</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2>projectionLatitude = 0.0;</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2>to the constructor.</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2>With these changes the code appears to generate
graticules/maps which match those in Synders Album.</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2>How do these changes look to
you?</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2>Fred</FONT></DIV>
<DIV><FONT color=#a70401 size=2></FONT> </DIV>
<DIV><FONT color=#a70401 size=2> </DIV></FONT></BODY></HTML>