Uploaded image for project: 'GeoTools'
  1. GEOT-5769

GridCoverageRenderer improperly applies the BandSelect optimization 2 times in a row

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 16.4, 17.1
    • Fix Version/s: 16.5, 17.2, 18-beta
    • Component/s: render
    • Labels:
      None

      Description

      The GridCoverageRenderer applies 2 times in a row the BandSelection optmization.

      Basically, BandSelect optimization consists of sending a Bands read parameter down to the reader, based on the ChannelSelection specified in the style, follow up by a reordering of the ChannelSelection in the style.
      The current code does that 2 times in sequence, resulting into the 2nd time working on a wrong band indices set (being always 0,1,2 as per 1st re-ordering)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                dany111 Daniele Romagnoli
                Reporter:
                dany111 Daniele Romagnoli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: