Mapwrapping does not play nice with band selection on multiband raster data

Description

While playing with a multiband raster in GeoServer and trying to create a false color image with the following RasterSymbolizer:

<se:RasterSymbolizer>
<se:Opacity>1.0</se:Opacity>
<se:ChannelSelection>
<se:RedChannel>
<se:SourceChannelName>7</se:SourceChannelName>
</se:RedChannel>
<se:GreenChannel>
<se:SourceChannelName>2</se:SourceChannelName>
</se:GreenChannel>
<se:BlueChannel>
<se:SourceChannelName>3</se:SourceChannelName>
</se:BlueChannel>
</se:ChannelSelection>
</se:RasterSymbolizer>

we get an IndexOutOfBand error as part of the band selection process on band 7. If I use band 1 to 3 everything works.

The raster I was using covers the whole world and the error happens when map wrapping kicks in. When I zoom I don't get any errors, hence I suspect this is due to the map wrapping machinery.

Environment

None

Status

Assignee

Unassigned

Reporter

Simone Giannecchini

Triage

Components

Priority

Medium
Configure