Hi list, I temporarily solved the issue by changing part of the sld style like this:
... <ogc:Function name="parameter"> <ogc:Literal>scale</ogc:Literal> <ogc:Function name="Interpolate"> <ogc:Function name="env"> <ogc:Literal>wms_scale_denominator</ogc:Literal> </ogc:Function> <ogc:Literal>1000</ogc:Literal> <ogc:Literal>0.035</ogc:Literal> </ogc:Function> </ogc:Function> ... The style now works for all EPSG codes except 4326. I'm waiting for any suggestions. Regards, Riccardo Il giorno mer 31 gen 2024 alle ore 14:53 Riccardo Mari <rmar...@gmail.com> ha scritto: > Hi everyone, > I'm writing to you because I have a problem with a sld style that displays > currents direction using the ras:RasterAsPointCollection function. > In recent days I have updated geoserver from version 2.16.1 to version > 2.24.2 and everything works as before except for the rendering > transformation. > The ras:RasterAsPointCollection and wms_scale_denominator variable works > correctly (scales the points based on the zoom) only for EPSG:4326 while > for other EPSG codes the interpolation does not work. > I also tried with version 2.24.1 and 2.23.4. > At this link you can find the style and some example data. > > https://drive.google.com/drive/folders/1fmRNMVjO834OiGfcfQXtQoBgPLSx5QG9?usp=sharing > > Could the problem be caused by the style or is it a geoserver/geotools > issue? > Thanks in advance for the support, regards, Riccardo > > Operating system: Ubuntu 22.04.3 LTS > JVM Version: Oracle Corporation: 11.0.21 (Java HotSpot(TM) 64-Bit Server > VM) > Java Rendering Engine: org.marlin.pisces.DMarlinRenderingEngine > Apache Tomcat/9.0.34 > > GeoServer Version > 2.24.2 > Git Review > aa2a760b636c4ead6c58552ade504c3757d11853 > Build Date > 24-Jan-2024 01:06 > GeoTools version > 30.2 (rev 99a69a425ff41183938de794148484b76215e127) > GeoWebCache Version > 1.24.2 (rev 1.24.x/e0244e10e3a24f1a79168c992d957784b3230209) >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users