Simone Giannecchini ha scritto:

> The other way I see we can get this working  is to supply a band for
> each raster band without explicitly setting categories. I applied this
> small fix and now test seems to work again.
> Please guys check the fixes. I won't have time tomorrow to check these
> changes further.

Hi Simone,
I had to make some little tweaks on the tests because you changed the 
band names (from "Red band" to "RED" and so on) but now I have all tests
passing on my box... waiting for Hudson build, but things are looking
real fine now.

Ah, one thing while I'm at it. I see you're using the ColorSpace to
provide names to the bands. Is there any way to handle the alpha channel
band as well? With RGBA images (I have a geotiff that is derived from
a full color png using gdal_translate) the fourth band has a funny name:
<wcs:Key>RED</wcs:Key>
<wcs:Key>GREEN</wcs:Key>
<wcs:Key>BLUE</wcs:Key>
<wcs:Key>Untitled</wcs:Key>

I'm also wondering what would happen if we ever stumble upon a 5 bands
image... will we have 2 "Untitled" bands? That would not be good.

I'm not asking for you to code this, just point me in the right
direction and I'll do it.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to