[Geoserver-users] WMS GetFeatureInfo: default rendering buffer doesn't work

Hi there,

GeoServer Version 2.21.2 running on Ubuntu 22.04.4

I would like to extend the buffer parameter for a specific layer for a WMS getFeature query. For this, i modified the default rendering buffer in the wms layer settings. I also changed in the globel WMS settings the max buffer size (pixels) for enable a larger buffer setting. As the documentation mentioned is the default rendering buffer the same as the WMS vendor parameter &buffer=.

See also in the documentation: https://docs.geoserver.org/2.21.x/en/user/data/webadmin/layers.html#wms-settings

The following example querys should now give the same example, but they aren’t the same. Did i misunderstood the parameters ?

Without vendor-buffer, default rendering buffer = 75

https://geo.ur.ch/webmercator/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=av:ch059_liegenschaften_grenzpunkte&LAYERS=av:ch059_liegenschaften_grenzpunkte&CRS=EPSG%3A3857&SRS=EPSG%3A3857&TILED=true&INFO_FORMAT=application%2Fjson&FEATURE_COUNT=50&I=144&J=138&WIDTH=256&HEIGHT=256&STYLES=&BBOX=961596.9250845872%2C5918843.957491409%2C961616.0343416585%2C5918863.06674848

with vendor-buffer, default rendering buffer = 75

https://geo.ur.ch/webmercator/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=av:ch059_liegenschaften_grenzpunkte&LAYERS=av:ch059_liegenschaften_grenzpunkte&CRS=EPSG%3A3857&SRS=EPSG%3A3857&TILED=true&INFO_FORMAT=application%2Fjson&FEATURE_COUNT=50&I=144&J=138&WIDTH=256&HEIGHT=256&STYLES=&BBOX=961596.9250845872%2C5918843.957491409%2C961616.0343416585%2C5918863.06674848&buffer=75

getMap

https://geo.ur.ch/webmercator/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=av:ch059_liegenschaften_grenzpunkte&LAYERS=av:ch059_liegenschaften_grenzpunkte&CRS=EPSG%3A3857&SRS=EPSG%3A3857&TILED=true&INFO_FORMAT=application%2Fjson&FEATURE_COUNT=50&I=144&J=138&WIDTH=256&HEIGHT=256&STYLES=&BBOX=961596.9250845872%2C5918843.957491409%2C961616.0343416585%2C5918863.06674848

Kind regards,

Simon