I believe it's essentially a one line fix. Just add this to the
getParameterValues() implementation:

  values.parameter("standard_parallel_1").setValue(trueScaleLatitudeDeg);

Where the trueScaleLatitudeDeg is the trueScaleLatitude parameter that was
there before, except not saved as radians.

(This avoids a random walk in the value if you parse/format the WKT a bunch
of times).

I don't have a complete PR for you, but I thought you'd want to know,
especially since it looks like a trivial fix.

Kind regards,
- Eric

On Tue, Oct 20, 2020 at 1:07 AM Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Hi Joseph,
> sometimes Eric follows up with a PR of his own, I've cc'ed him on this
> mail to make
> sure you're not both working on it.
>
> Cheers
> Andrea
>
> On Mon, Oct 19, 2020 at 10:17 PM Joseph Miller <millerjos...@gmail.com>
> wrote:
>
>> If no one else is taking a look, I'd like to tackly GEOT-6721, an issue
>> with the Cylindrical Equal Area Transform object.
>>
>>
>> https://osgeo-org.atlassian.net/jira/software/c/projects/GEOT/issues/GEOT-6721
>>
>> Thanks,
>> Joe Miller
>> _______________________________________________
>> GeoTools-Devel mailing list
>> GeoTools-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>>
>
>
> --
>
> Regards, Andrea Aime
>
> == GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
> (LU) phone: +39 0584 962313 <+39%200584%20962313> fax: +39 0584 1660272
> <+39%200584%20166%200272> mob: +39 339 8844549 <+39%20339%20884%204549>
> http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to