ArrayIndexOutOfBounds exc on CoverageViewReader

Description

When a CoverageView is created with more bands than those of any of the composing coverages, an ArrayIndexOutOfBounds exception occurs on CoverageViewReader at the procedure of the resulting coverage dimension wrapping. This occurs because dimension wrapping is done during reading of the composing coverages, and should take place only after the resulting coverage is created.

This issue was addressed partially during the latest inprovements on CoverageViewReader, but a use case with a specific dataset showed that there were some cases not fully covered.

Environment

None

Status

Assignee

Unassigned

Reporter

Thanassis Mantes

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure