Am Freitag 20 Juli 2007 schrieb Stefan Krüger:
> Hi
>
> Am i right, that in GT 2.3.2 the ColorMap.setType( int ) doesn't have any
> effect?
> ColorMap.TYPE_RAMP, ColorMap.TYPE_INTERVALS and ColorMap.TYPE_VALUES are
> constants reserved for it, but i can't see any difference when i play with
> them.
>
> Looks like the only behaviour implemented is an interpolation between the
> ColorMapEntries.

By now i relized, that the type field is not defined in the SLD specs, and so 
GT2 also doesn't save it to SLD.

But i see a use for that field (and so probably did the progammer that 
implemented the basic idea).

I would have loved to use that field, to identifiy if the values in the raster 
are nominal or metric, because the legend for a nominal based raster should 
be painted with little gaps between the colors, whereas a metric scaled 
raster (like a DEM) could nicely paint the colors above each other without a 
gap.

Looks like this can't be represented in SLD right now. :-(

This just for info,
Steve

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

Reply via email to