[Geoserver-devel] [JIRA] (GEOS-7788) original BandNames from coverageViews are lost, being replaced by ColorModel based names

Daniele Romagnoli created an issue

GeoServer / BugGEOS-7788

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

Issue Type:

BugBug

Assignee:

Unassigned

Attachments:

BandsNames.jpg, samplemosaic.zip

Components:

Main

Created:

07/Oct/16 11:03 AM

Priority:

MediumMedium

Reporter:

Daniele Romagnoli

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 Open 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)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.383.2#100014-sha1:783d425)

Atlassian logo