Bartek Burkot ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f0418e6e1618b001b8cd5ab
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiODk0NjA5YTMxODBkNGViNDk0M2EzZDZhODRiMTUxNmMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-9681?atlOrigin=eyJpIjoiODk0NjA5YTMxODBkNGViNDk0M2EzZDZhODRiMTUxNmMiLCJwIjoiaiJ9
 ) GEOS-9681 ( 
https://osgeo-org.atlassian.net/browse/GEOS-9681?atlOrigin=eyJpIjoiODk0NjA5YTMxODBkNGViNDk0M2EzZDZhODRiMTUxNmMiLCJwIjoiaiJ9
 ) Weird styling for png8 and antialias:none ( 
https://osgeo-org.atlassian.net/browse/GEOS-9681?atlOrigin=eyJpIjoiODk0NjA5YTMxODBkNGViNDk0M2EzZDZhODRiMTUxNmMiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.17.0, 2.17.1 Assignee: Unassigned 
Attachments: geoserver_bug_animated_gif.gif, topp-states1.png, topp-states2.png 
Components: styling Created: 07/Jul/20 9:32 AM Environment:

geoserver version 2.17.0, tomacat9, Win Server 2019 64bit, openjdk version 
"1.8.0_252"

Priority: Medium Reporter: Bartek Burkot ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f0418e6e1618b001b8cd5ab
 )

This bug occurs for WMS request if the format of image is png8 and 
format_options is set to antialias:none.
The styling of features on the map and background color is changing a kind of 
randomly. It depends only on the "BBOX" parameter.
Reproduction is easy: set the output format: openlayers, change image format to 
png8 and antialising to Disabled (antialias:none). See the animated gif in the 
attachement.

Reconstruction2:

*Request1: *

> 
> 
> 
> http://localhost:8080/geoserver217/topp/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&LAYERS=topp%3Astates&exceptions=application%2Fvnd.ogc.se_inimage&FORMAT_OPTIONS=antialias%3Anone&CRS=EPSG%3A4326&STYLES=&WIDTH=768&HEIGHT=330&*BBOX=29.2236328125%2C-110.23681640625%2C32.84912109375%2C-101.79931640625
> *
> 
> 

*Request2:*

> 
> 
> 
> http://localhost:8080/geoserver217/topp/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng8&TRANSPARENT=true&LAYERS=topp%3Astates&exceptions=application%2Fvnd.ogc.se_inimage&FORMAT_OPTIONS=antialias%3Anone&CRS=EPSG%3A4326&STYLES=&WIDTH=768&HEIGHT=330&*BBOX=27.333984375%2C-113.62060546875%2C34.5849609375%2C-96.74560546875*
> 
> 
> 

Both requests differ in BBOX parameter only. The colors of features on the map 
and background color depend on the BBOX parameter only.

Additionaly please adjust vendor parameter values from antialias(ing):off to 
antialias:none. It is incorrectly documented: 
https://docs.geoserver.org/latest/en/user/services/wms/vendor.html
Regards

Bartek ( 
https://osgeo-org.atlassian.net/secure/attachment/33525/33525_geoserver_bug_animated_gif.gif
 ) ( 
https://osgeo-org.atlassian.net/secure/attachment/33524/33524_topp-states1.png 
) ( 
https://osgeo-org.atlassian.net/secure/attachment/33523/33523_topp-states2.png )

( 
https://osgeo-org.atlassian.net/browse/GEOS-9681#add-comment?atlOrigin=eyJpIjoiODk0NjA5YTMxODBkNGViNDk0M2EzZDZhODRiMTUxNmMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-9681#add-comment?atlOrigin=eyJpIjoiODk0NjA5YTMxODBkNGViNDk0M2EzZDZhODRiMTUxNmMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100131- 
sha1:f392e80 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to