Two things:
- we have not updated to the SLD 1.1 specification - perhaps they fixed 
this problem?
- the OGC is pretty good about allowing slots for "vendor specific 
extentions"

If you could check these things out and get back to us with a 
proposal/patch we would be happy to add the functionality.

The only other approach solution I can think of is not very nice - but 
may be correct. The information about the values in the raster (ie the 
Record retrieved when
sampling at a given location) should be contained in the RecordType 
information. My code review does not show good use of RecordType yet (or 
my understanding of RecordType may be wrong).

Cheers,
Jody
> 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
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to