Dear all,

the pull request for the Homolosine is just in: 
https://github.com/geotools/geotools/pull/2830

This is a literal implementation of the projection described by John Paul 
Goode, relying on the existing projection classes for the Mollweide and the 
Sinusoidal. Thus no actual mathematical transformation is performed in the new 
class. This implementation applies tow essential steps:
1. Identify the Homolosine lobe to which the points belongs and apply the 
respective central meridian.
2. Deduct the offset between the transformed northing values of the Sinusoidal 
and Mollweide at the threshold latitude.

The meta-data includes a direct link to Goode's 1925 article, if you wish to 
learn more.

Thank you for considering this contribution.

--
Luís

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, March 6, 2020 4:29 AM, Jody Garnett <jody.garn...@gmail.com> wrote:

> Excellent!
>
> You can leave @since off if you like, it is more when you have a core API 
> interface and want to capture API changes. If you want to include it the 
> current version of master is appropriate.
>
> For serialVersionUID my IDE offers to generate one, java provide manual 
> instructions here
> https://docs.oracle.com/javase/7/docs/technotes/tools/solaris/serialver.html
>
> On Thu, Mar 5, 2020 at 1:23 AM Luí­s Moreira de Sousa via GeoTools-Devel 
> <geotools-devel@lists.sourceforge.net> wrote:
>
>> Dear all,
>>
>> I have a functional implementation of the Homolosine projection that I would 
>> like to submit as a pull request. But I need some guidance on two items:
>>
>> - @since: I understand this tag indicates the version that introduces the 
>> projection. What should I declare here? Should it be left empty?
>>
>> - serialVersionUID: both the projection class and the Provider class have 
>> one of these. They do do not look like UUIDs, how can I generate new ones?
>>
>> Thank you.
>>
>> --
>> Luís
>>
>> _______________________________________________
>> GeoTools-Devel mailing list
>> GeoTools-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
> --
> --
> Jody Garnett
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to