[Geoserver-devel] [JIRA] (GEOS-8045) ChannelSelection after raster RenderingTransformation may throw a IllegalArgumentException: Band number N is not valid

Daniele Romagnoli created an issue

GeoServer / TaskGEOS-8045

ChannelSelection after raster RenderingTransformation may throw a IllegalArgumentException: Band number N is not valid

Issue Type:

TaskTask

Assignee:

Unassigned

Created:

22/Mar/17 12:45 PM

Priority:

MediumMedium

Reporter:

Daniele Romagnoli

A renderingTransformation on a raster followed by a channelSelection may involve an optimized read operation on the underlying reader which uses a BANDS parameter to avoid reading useless data (https://osgeo-org.atlassian.net/browse/GEOS-7731)

This may result into a _java.lang.IllegalArgumentException: Band number N is not valid _ since the channelSelection will work on a coverage with a reduced number of bands (due to the optimized read).

We should make sure to update the underlying channelSelection node in rasterSymbolizer to keep the optimization into account.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.844.1#100035-sha1:ca7c2ca)

Atlassian logo