Jody Garnett wrote: >> 75% of the case we have a single band raster when we want to use the >> categorize function. So rasterData is fine. It just looks like they >> have forgotten the 25% left. Or perhaps they assume we choose a single >> band in the selectedChannel. that's possible too. If that's the case >> rasterData is not a mistake and it would solve problem 2 and 3. But >> they say nothing about this particular case. >> I was thinking they do have some ColorChannel data structure - does that help get us a single band? > Simone may also be able to provide some light on these kinds of issues? >
>>> Consider the example here: >>> - http://schemas.opengis.net/se/1.1.0/example-rastersymbolizer1.xml >>> >>> It has look up vale = "RasterData" >>> and value#00ff00 that is probably the same thing as >>> double[]{00,255,00} right? Have a look at the converters api; and >>> send email ... chances are that you need to make the lookup here >>> return a Color in both cases... >>> >> I know it, nearly the 20th time I check it if I had made a mistake. >> We could also go beyond the specification and have RasterData.1 and RasterData.2 for the different channels; although the channels may have a name - (ie RasterData/R) which would be very readable when making use of categories :-) I like this idea but I am worried Martin will kick me ... it is not wise to be creative with specifications. Jody ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel