<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-NZ" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Greetings,</p>
<p class="MsoNormal"> We have recently discovered a new scaling problem within the HEALPix projection separate from the previous scaling error. We have identified the problem which can be identified in the code below.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">FORWARD(e_healpix_forward); /* ellipsoidal */</p>
<p class="MsoNormal"> double beta = auth_lat(lp.phi, P->e, 0);</p>
<p class="MsoNormal"> lp.phi = beta;</p>
<p class="MsoNormal"> return healpix_sphere(lp, P);</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Here the HEALPix projection is being called on an ellipsoidal model of the earth. The following is necessary:
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-left:36.0pt">Convert from Ellipsoidal to Sphere</p>
<p class="MsoNormal" style="margin-left:36.0pt">Convert from Sphere to Plane</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We need proj.4 to scale based on the sphere model not the ellipsoidal model. How does scaling work (I have seen in proj.c that there are pre and post scaling functions). Is it possible to set a configuration option in P so that proj.4
scales according to a Sphere and not an Ellipsoidal model?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks</p>
</div>
<br>
<hr>
<font face="Arial" color="Green" size="1"><br>
Please consider the environment before printing this email<br>
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.<br>
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz<br>
</font>
</body>
</html>