Ciao Michael,
which version of geotools are you playing with?
I'd like to try and give some help...

Ciao,
Simone.

On Fri, May 9, 2008 at 2:22 PM, Michael Bedward
<[EMAIL PROTECTED]> wrote:
> me too :-)
>
> in other words - I've also been trying to display single band
> coverages with float or double data.  I've been trying to do it
> programmatically by creating a simple ColorMap and using this in the
> creation of a RasterSymbolizer.  I then use
> GridCoverageRenderer.paint() with this symbolizer and get yet another
> grayscale image <sigh>
>
> There are some sexy images of dems, temperature coverages etc on the
> geotools site.  What's the secret ?
>
> Michael
>
>
> On Fri, May 9, 2008 at 12:09 AM, Matt Foster <[EMAIL PROTECTED]> wrote:
>> 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
>>
>
> -------------------------------------------------------------------------
> 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
>



-- 
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928


http://www.geo-solutions.it

-------------------------------------------------------

-------------------------------------------------------------------------
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