Michael Speth | 11 Jun 2012 23:20
Picon
Favicon
Gravatar

rHEALPix bug & bug fix

Greetings,
   We have discovered a bug in the rHEALPix projection that causes lon/lat's in the polar regions to be incorrectly projected if the polar regions are shifted.  I have written detailed documentation on the bug, so please reference this for more information.  I have created a patch that fixes the bug as well as provides the test plan and supporting source.  I have also made available the binaries for running the tests for the HEALPix and rHEALPix projections (64-bit).  To test the bug, I've included the source to a standalone C application with an included script that should compile on a 32-bit or 64-bit system.

Links
Patch: https://df.bestgrid.org/quickshare/cae33e5e7caf3955/combine_caps_bug-2012-06-06.patch
Bug Documentation: https://df.bestgrid.org/quickshare/5c677519931baa0e/SCENZ-CombineCaps-2012-06-07.pdf
Testing Documentation: https://df.bestgrid.org/quickshare/d6b285865b34db70/SCENZ-ProjectionTests-2012-06-07.pdf
Test Binaries: https://df.bestgrid.org/quickshare/7364e5e560b6d60d/jproj4-test.tar.bz2
Test Source: https://df.bestgrid.org/quickshare/3ad729a5bf29e17a/jproj4-test-src.tar.bz2

Please let me know if there are any questions or problems.  What is the process for adding bug fixes to the main line?
-- Michael Speth Research Systems Developer Landcare Research
Please consider the environment before printing this email
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.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
Frank Warmerdam | 11 Jun 2012 23:43
Picon
Favicon
Gravatar

Re: rHEALPix bug & bug fix

Michael,

Will you be filing a bug in Trac?

Best regards,
Frank

On Mon, Jun 11, 2012 at 2:20 PM, Michael Speth
<spethm <at> landcareresearch.co.nz> wrote:
> Greetings,
>    We have discovered a bug in the rHEALPix projection that causes lon/lat's
> in the polar regions to be incorrectly projected if the polar regions are
> shifted.  I have written detailed documentation on the bug, so please
> reference this for more information.  I have created a patch that fixes the
> bug as well as provides the test plan and supporting source.  I have also
> made available the binaries for running the tests for the HEALPix and
> rHEALPix projections (64-bit).  To test the bug, I've included the source to
> a standalone C application with an included script that should compile on a
> 32-bit or 64-bit system.
>
> Links
> Patch:
> https://df.bestgrid.org/quickshare/cae33e5e7caf3955/combine_caps_bug-2012-06-06.patch
> Bug Documentation:
> https://df.bestgrid.org/quickshare/5c677519931baa0e/SCENZ-CombineCaps-2012-06-07.pdf
> Testing Documentation:
> https://df.bestgrid.org/quickshare/d6b285865b34db70/SCENZ-ProjectionTests-2012-06-07.pdf
> Test Binaries:
> https://df.bestgrid.org/quickshare/7364e5e560b6d60d/jproj4-test.tar.bz2
> Test Source:
> https://df.bestgrid.org/quickshare/3ad729a5bf29e17a/jproj4-test-src.tar.bz2
>
> Please let me know if there are any questions or problems.  What is the
> process for adding bug fixes to the main line?
>
> --
> Michael Speth
> Research Systems Developer
> Landcare Research
>
>
> ________________________________
> Please consider the environment before printing this email
> 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.
> The views expressed in this email may not be those of Landcare Research New
> Zealand Limited. http://www.landcareresearch.co.nz
>
> _______________________________________________
> Proj mailing list
> Proj <at> lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj

--

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam <at> pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj

Michael Speth | 12 Jun 2012 23:04
Picon
Favicon
Gravatar

Re: rHEALPix bug & bug fix

Hi Frank,
   I've added a Ticket (#176).  Please let me know if there is any
additional information required for fixing this bug.

Thanks

On 12/06/12 09:43, Frank Warmerdam wrote:
> Michael,
>
> Will you be filing a bug in Trac?
>
> Best regards,
> Frank
>
> On Mon, Jun 11, 2012 at 2:20 PM, Michael Speth
> <spethm <at> landcareresearch.co.nz> wrote:
>> Greetings,
>>     We have discovered a bug in the rHEALPix projection that causes lon/lat's
>> in the polar regions to be incorrectly projected if the polar regions are
>> shifted.  I have written detailed documentation on the bug, so please
>> reference this for more information.  I have created a patch that fixes the
>> bug as well as provides the test plan and supporting source.  I have also
>> made available the binaries for running the tests for the HEALPix and
>> rHEALPix projections (64-bit).  To test the bug, I've included the source to
>> a standalone C application with an included script that should compile on a
>> 32-bit or 64-bit system.
>>
>> Links
>> Patch:
>> https://df.bestgrid.org/quickshare/cae33e5e7caf3955/combine_caps_bug-2012-06-06.patch
>> Bug Documentation:
>> https://df.bestgrid.org/quickshare/5c677519931baa0e/SCENZ-CombineCaps-2012-06-07.pdf
>> Testing Documentation:
>> https://df.bestgrid.org/quickshare/d6b285865b34db70/SCENZ-ProjectionTests-2012-06-07.pdf
>> Test Binaries:
>> https://df.bestgrid.org/quickshare/7364e5e560b6d60d/jproj4-test.tar.bz2
>> Test Source:
>> https://df.bestgrid.org/quickshare/3ad729a5bf29e17a/jproj4-test-src.tar.bz2
>>
>> Please let me know if there are any questions or problems.  What is the
>> process for adding bug fixes to the main line?
>>
>> --
>> Michael Speth
>> Research Systems Developer
>> Landcare Research
>>
>>
>> ________________________________
>> Please consider the environment before printing this email
>> 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.
>> The views expressed in this email may not be those of Landcare Research New
>> Zealand Limited. http://www.landcareresearch.co.nz
>>
>> _______________________________________________
>> Proj mailing list
>> Proj <at> lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/proj
>
>

--
Michael Speth
Research Systems Developer
Landcare Research

Please consider the environment before printing this email
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.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz
_______________________________________________
Proj mailing list
Proj <at> lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj


Gmane