Andrea,

I also recently implemented a grid convergence calculation capability in a 
rendering transform for use with styling of coverages like wind that have a 
direction (see posts on 10/14/22 and 10/24/22).  Performance is indeed 
impacted.  I check the projection inside the rendering transform to see if GCA 
needs to be calculated, but if you think it's a significant performance boost 
to not even call the rendering transform in these cases I'd be very interested 
in such an optimization.

Tom

________________________________________
From: Andrea Aime <andrea.a...@geosolutionsgroup.com>
Sent: Friday, December 1, 2023 1:43 AM
To: Ian Turton
Cc: GeoTools
Subject: [EXTERNAL] Re: [Geotools-devel] Fun with wind arrows in polar 
projections

EXTERNAL EMAIL -- This message originates from outside of SAIC

On Fri, Dec 1, 2023 at 10:03 AM Ian Turton 
<ijtur...@gmail.com<mailto:ijtur...@gmail.com>> wrote:
Sounds like a good solution to the issue, what about the existing 
SimplifyingVisitor and other simplifiable functions like Add and Subtract, will 
you add it to them or is that left as further work?

Hi Ian,
the existing simplifying visitor will delegate to the SimplifyableFunction when 
it finds one.
The math operations are already covered and pre-computed when all their 
arguments are static for the current request (e.g., they might be env vars 
whose value
is fixed in the current request). More simplifications could be carried out for 
specific cases when only one of the two operands is static,
e.g. "0 + function" is the same a "function", same goes for "1 * function"
and so on, those simplifications could be added with more development, if they 
are found to be common cases (TBD).

Cheers
Andrea

==

GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead


GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549


https://www.geosolutionsgroup.com/

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
The information contained in this e-mail and any attachments from Science 
Applications International Corporation ("SAIC") may contain sensitive, 
privileged and/or proprietary information, and is intended only for the named 
recipient to whom it was originally addressed. If you are not the intended 
recipient, any disclosure, distribution, or copying of this e-mail or its 
attachments is strictly prohibited. If you have received this e-mail in error, 
please notify the sender immediately by return e-mail and permanently delete 
the e-mail and any attachments.

_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to