Greetings...I'm trying to make a raster from a matrix of floats via a GridCoverage2D object. I get the GridCoverage created with no problems, but the resulting raster does not get colored properly according to the ColorMap I created in an SLD file. From what I can tell, it appears that the entire range of data from my float[][] array gets put into a single Category in the GridSampleDimension. Looking at the source in RasterSymbolizerSupport it looks like the data need to be categorized, such that the Categories can match up to entries in the ColorMap. Is that basically correct?

It appears that my options may be somewhat limited. I think I may have to manually "roll my own" GridSampleDimension with categories specific to my dataset. Does anyone have a better option?

TIA for any input.

Matt

--
The cosmos is all that is or ever was or ever will be.
-- Carl Sagan

begin:vcard
fn:Matt Foster - N0EYE
n:Foster;Matt
org:;NWS Forecast Office - Norman OK
email;internet:[EMAIL PROTECTED]
title:Information Technology Officer
tel;work:(405) 325-3406
x-mozilla-html:TRUE
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to