We're updating the issue view to help you get more done. 

Allow in layer preview filtering (CQL, OGC and FeatureID) for rasters formats that support filtering

Description

Currently when doing a layer preview filtering capabilities are deactivated for (pure) raster layers. Although some raster formats support filtering:
https://github.com/geoserver/geoserver/blob/207cd0b13273950f6439dd67f7a8ac9addb047cf/src/wms/src/main/java/org/geoserver/wms/WMS.java#L1112-L1131

One of the raster formats that supports filtering is image mosaic:
https://github.com/geotools/geotools/blob/22ab45c198130388c7774d8d43b051fc7a7402e6/modules/plugin/imagemosaic/src/main/java/org/geotools/gce/imagemosaic/ImageMosaicFormat.java#L109-L113

Filtering capabilities should be available int he layer preview if at least one of raster layers supports filtering.

Environment

None

Status

Assignee

Nuno Oliveira

Reporter

Nuno Oliveira

Triage

None

Fix versions

Affects versions

None

Priority

Medium