GetFeatureInfo requests fail for default interpolation <> 'use service default', when querying multiple layers

Description

GetFeatureInfo requests of multiple layers (>1) fail when at least one of the layers is a raster with a layer-level default interpolation method set to anything other than 'use service default', and the layer is queryable. This is consistent in Geoserver versions 2.15.0 and 2.21.0.

Steps to repeat:

  • Set a default interpolation method for a single raster layer to anything other than 'use service default'. It doesn't matter if the layer-level interpolation method is set to the same as the service default - just any value that is not 'use service default'.

  • Ensure the raster layer is queryable under layer settings.

  • Make a GetFeatureInfo request from multiple layers, including the raster layer you've just configured. This can be as a layer group, or a series of individual layers.

  • The CRS of the requested layers, or the CRS of the request, or the layer types (all raster, mix raster + vector, image mosaic etc), doesn't matter.

Making GetFeatureInfo requests of the layers singly is no issue. The request succeeds as expected when the default interpolation method of the raster layer is changed back to 'use service default'.

The error can be reproduced using the "spearfish" demo layer group, by moving the DEM at the top of the group, and changing the interpolation method for it.

Environment

None

Activity

Emma Flukes
April 30, 2025 at 11:23 AM

Confirming this issue persists in 2.26.1

Emma Flukes
October 25, 2023 at 11:20 AM

I’ve only just now been able to access a supported version of Geoserver - can confirm the issue persists in 2.24.0, and have added a version tag for this.

Andrea Aime
August 3, 2023 at 12:53 PM

Please check if this is happening in a supported version of GeoServer (at the time of writing, 2.22.x and 2.23.x)

Details

Assignee

Reporter

Affects versions

Priority

Created August 3, 2023 at 10:46 AM
Updated April 30, 2025 at 11:23 AM