Join GitHub today
[GEOS-8263] Allow in layer preview filtering (CQL, OGC and FeatureID) for rasters formats that support filtering (backport to 2.11.x) #2495
Backport of this PR: #2494
Associated issue: https://osgeo-org.atlassian.net/browse/GEOS-8263
The PR changes the layer preview behavior to activate filtering if a coverage layer reader supports filtering (e.g. image mosaic).
Testing this was bit tricky, depending on ImageMosaic for the tests was not a good idea so I created a static reader that always return a static image but more importantly allowed me to define the read parameters I need.