<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<small>Greetings,<br>
The E_ERROR calls the set_errno function. Is there a header
file that contains a reference to the error codes for proj.4? In
the case of HEALPix and rHEALPix, I want to report that for the
inverse of these projections, that the point is not within the
projection space. Also, for the rHEALPix, I want to report that
the values for npole and spole are invalid.<br>
<br>
How should I choose the the values to pass to errno?<br>
<br>
Thanks<br>
<br>
On 20/10/11 09:54, Frank Warmerdam wrote:</small>
<blockquote
cite="mid:CA+YzLBdqo55Ve38vGBmuTK+Cw0mb1h_F+-zb_urehp6M0KzOBA@mail.gmail.com"
type="cite">
<pre wrap="">On Wed, Oct 19, 2011 at 1:35 PM, Michael Speth
<a class="moz-txt-link-rfc2396E" href="mailto:spethm@landcareresearch.co.nz"><spethm@landcareresearch.co.nz></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Greetings,
How is the tv_out.dist file generated?
</pre>
</blockquote>
<pre wrap="">
Michael,
The file is generated by running the script and renaming the
output file after human review shows any diffs are due to newly
added good results.
</pre>
<blockquote type="cite">
<pre wrap=""> Also, does Proj.4 have any conventions for indicating that a given
set of parameters for a projection are invalid?
</pre>
</blockquote>
<pre wrap="">
I'm not sure how you mean. In the cs2cs output? In the code? In
the docs?
In the code for PJ_tmerc.c you can see how errors in +zone=
values are reported with E_ERROR() during projection initialization.
Best regards,
</pre>
<blockquote type="cite">
<pre wrap="">Thanks for your help!
On 18/10/11 15:41, Frank Warmerdam wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Mon, Oct 17, 2011 at 7:00 PM, Michael Speth
<a class="moz-txt-link-rfc2396E" href="mailto:spethm@landcareresearch.co.nz"><spethm@landcareresearch.co.nz></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thank you Frank!
I've added your recommended fixes and it works! We will now start
thoroughly testing. Do you have any suggestions for testing?
</pre>
</blockquote>
<pre wrap="">Michael,
Nothing deep, no. But I would like to have a few representative
test points to incorporate into proj/nad/testvarious so you might
want to consider including that in the submission patch.
Best regards,
</pre>
</blockquote>
<pre wrap="">
--
Michael Speth
Scientific Programmer
Landcare Research
_______________________________________________
Proj mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Proj@lists.maptools.org">Proj@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/proj">http://lists.maptools.org/mailman/listinfo/proj</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Michael Speth
Scientific Programmer
Landcare Research</pre>
</body>
</html>