<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<small>Hello,<br>
An example best explains my question.<br>
<br>
Command line<br>
proj +proj=healpix -f '%.'$PERCISION'f' -I +lon_0=$1 +a=$2 +R_A
+ellps=WGS84 -E <<EOF<br>
$3 $4<br>
EOF<br>
<br>
Output<br>
==== HEALPix Spheriod Inverse Test ====<br>
[8] 0 0 0.0000 0.0000<br>
[9] 0 0 45.0000 0.0000<br>
[10] 0 0 -45.0000 0.0000<br>
[11] 2 -2 * *<br>
[12] 2 -2 * *<br>
[13] 1 2 * *<br>
[14] 2 1 * *</small><br>
<small><br>
So in the output, notice that the last 4 test result in an error
(noted by the *). The output I am looking for is "invalid x or y"
for the last 4 test results. Does this make sense?<br>
<br>
Thanks</small><br>
<br>
<br>
On 02/11/11 09:22, Frank Warmerdam wrote:
<blockquote
cite="mid:CA+YzLBdMq7y0P61ycGHW+2O_9urFEvHMVYOCo=9ZwRcM_AD8mA@mail.gmail.com"
type="cite">
<pre wrap="">On Tue, Nov 1, 2011 at 12:23 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,
I've updated the code to use pj_ctx_set_errno. Thanks! What is the
command line flag for displaying the error code/error string?
</pre>
</blockquote>
<pre wrap="">
Michael,
I'm not exactly sure what you are asking. But the error messages
in pj_strerrno.c are fetched using pj_strerrno(). I see at least
the cs2cs application uses this when reporting errors.
Best regards,
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Michael Speth
Scientific Programmer
Landcare Research</pre>
</body>
</html>