[Proj] rHEALPix new parameters

Michael Speth spethm at landcareresearch.co.nz
Mon Oct 31 14:20:05 EST 2011


Greetings,
    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.

How should I choose the the values to pass to errno?

Thanks

On 20/10/11 09:54, Frank Warmerdam wrote:
> On Wed, Oct 19, 2011 at 1:35 PM, Michael Speth
> <spethm at landcareresearch.co.nz>  wrote:
>> Greetings,
>>    How is the tv_out.dist file generated?
> 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.
>
>
>>    Also, does Proj.4 have any conventions for indicating that a given
>> set of parameters for a projection are invalid?
> 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,
>
>> Thanks for your help!
>>
>> On 18/10/11 15:41, Frank Warmerdam wrote:
>>> On Mon, Oct 17, 2011 at 7:00 PM, Michael Speth
>>> <spethm at landcareresearch.co.nz>    wrote:
>>>> 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?
>>> 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,
>>
>> --
>> Michael Speth
>> Scientific Programmer
>> Landcare Research
>>
>> _______________________________________________
>> Proj mailing list
>> Proj at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/proj
>>
>
>


-- 
Michael Speth
Scientific Programmer
Landcare Research

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20111101/71407667/attachment.htm 


More information about the Proj mailing list