> I have lost best time of my life (oki, just a few hours) while replacing > "return null" with this: > > // Now we create a RasterSymbolizer using colormap > ColorMap colorMap; > colorMap = sf.createColorMap(); > RasterSymbolizer sym = sf.getDefaultRasterSymbolizer(); > sym.setColorMap(colorMap); > return SLD.wrapSymbolizers(sym); > > I do not know it it is good way, but it is working. Please improve that > sample on web for future generations of coders... So I have considered making the above change; while it may make sense for your application or dataset it does not help the tutorial (which is trying to show how colour bands and styles work).
What I will do is take the text warning people to make their own styles into a seperate step in the hopes people read it; and expand on the discussion of the different formats later on in the document. Cheers, Jody
------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
