Okay thanks, let's see what changed between 2.16.2 and 2.16.3 ...

I am going to share links so that other devs can have a look, I hope we can
get a clear bug report to help making a fix easier.


Looking at GeoServer 2.16.3 release notes this looks likely:

GEOS-9036 <https://osgeo-org.atlassian.net/browse/GEOS-9036> Some rendering
transformations do not benefit from advanced projection handling and
dateline wrapping

The fix above is implemented by GeoTools (which does the drawing):

GEOT-6313 <https://osgeo-org.atlassian.net/browse/GEOT-6313> Raster to
Vector rendering transforms do not respect continuous map wrapping

The following pull requests mention GEOT-6313:

[GEOT-6636] Raster to Vector rendering transformations can lose nodata
values when crossing the dateline
<https://github.com/geotools/geotools/pull/3007>

   - Updates RasterAsPointCollectionProcessTest


[GEOT-6313]: Fixes wrapping on RenderingTransformation
<https://github.com/geotools/geotools/pull/2752>

   - Has changes in StreamingRenderer around projection handling
   - Has more tests for RasterAsPointCollectionProcessTest


[GEOT-6313] Support raster-to-vector rendering transforms across the
dateline <https://github.com/geotools/geotools/pull/2419>

   - I see a test case for RasterAsPointCollectionProcessTest being
   defined, but no changes to the function


I do not think it is your SLD in error, and expect these changes are where
the regression is occurring.
I am not familiar enough with this area of the code to immediately see the
problem and make a quick fix.

Can I ask you to make a bug report with what we have learned in this email
thread please.
--
Jody Garnett


On Feb 12, 2024 at 1:56:04 PM, Alen Arturo Dioses Avellaneda <
alen.dio...@gmail.com> wrote:

> HI everyone
>
> I have the same problem with windbars using sld provided in this geosolutions
> example
> <https://geoserver.geosolutionsgroup.com/edu/en/multidim/accessing_multidim/rtx/wind_barbs.html>
> , as suggested I looked for the version where the problem begins, it is
> version 2.16.3, change log are in an empty JIRA webpage, but announcement
> says the following:
>
> As Riccardo mentioned, the resampling function that uses
> wms_scale_denominator works fine for every EPSG code previous 2.16.3
> version, but from that only works for EPSG:4326.
>
> I would appreciate any suggestion to understand what happened  so use the
> best possible solution in the sld.
>
>
>
> [image: image.png]
>
> Regards,
> Alen Dioses
>
>
>
> El vie, 2 feb 2024 a las 11:10, Jody Garnett (<jody.garn...@gmail.com>)
> escribió:
>
>> Is this a regression? If so you should report the problem ...
>>
>> But before you do perhaps some research: Going from 2.16.1 to 2.24.2 is a
>> lot of changes; you should review the release notes for any thing affecting
>> WMS scale calculations.
>>
>> It would help *a lot* if you can identify exactly what version of
>> GeoServer this regression occurs in!
>> --
>> Jody Garnett
>>
>>
>> On Wed, Jan 31, 2024 at 5:56 AM Riccardo Mari <rmar...@gmail.com> wrote:
>>
>>> 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
>>>
>> _______________________________________________
>> 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
>>
>
_______________________________________________
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

Reply via email to