Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-7788

original BandNames from coverageViews are lost, being replaced by ColorModel based names

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 2.10.0
    • Component/s: Main
    • Labels:
      None

      Description

      Previously, when configuring a coverageView on a ImageMosaic of NetCDFs, the coverageBandDetails panel were filled with the coverage band names.

      Right now, the band names are replaced by a representation of the color component.
      As an instance, GRAY_INDEX, RED_BAND, GREEN_BAND, BLUE_BAND.

      I think this is a consequence of
      https://osgeo-org.atlassian.net/browse/GEOS-7767

      Attached, a screenshot showing the old behavior (left side), and new behavior (right side).
      Steps to replicate:

      1) Have GeoServer running with NetCDF extension available
      2) Configure an ImageMosaic store on top of the attached sample mosaic (need to be unzipped)
      3) create a new coverageView, by moving the NO2 and O3 bands as output bands and save
      4) Look at the band names in the Coverage Band Details panel.

      Since GEOS-7767 Closed introduced valid management of Alpha_band when dealing with coverageView, I wonder if we should check the input data type and color model to preserve original naming when dealing, as an instance, with NOT RGB / NOT Byte data (which will don't have alpha in the mix)

      I have also noticed that an RGB-IR coverage (being configured without using coverageView) and footprint enabled has bands RED_BAND, GREEN_BAND, BLUE_BAND, ALPHA_BAND. I think this is another effect of GEOS-7767 Closed

        Attachments

        1. BandNamesFromNetCDF.png
          18 kB
        2. BandsNames.jpg
          39 kB
        3. samplemosaic.zip
          107 kB
        4. screenshot-1.png
          68 kB
        5. Selezione_098.png
          14 kB

          Activity

            People

            • Assignee:
              aaime Andrea Aime [Administrator]
              Reporter:
              dany111 Daniele Romagnoli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: