OK...I found RasterSymbolizerHelper (and some helpful example code on the GT website!), and I'm getting a color GeoTiff now.  However, it appears that the opacity information from my SLD does not get applied to the GeoTiff.  The entire image has an opacity of 1.0, but I have part of the color map with opacity 0.  Also, it appears that the CRS that I have applied to the GridCoverage (WGS84) does not make it into the GeoTiff correctly.  I have checked it with both gdalinfo and ArcMap, and neither indicate that the GeoTiff is WGS84.

Have a good weekend!

Matt


Matt Foster wrote:
Hello Simone,

I think I see how to do that using RasterSymbolizerSupport.recolorCoverage(), however, RasterSymbolizerSupport seems to be missing in 2.5M2.  It's in the online javadoc, but it is neither in my 2.5M2 jars, nor in the 2.5M2 javadoc I downloaded.  Do you know why this is?  Should I be using something besides RasterSymbolizerSupport?

Matt


Simone Giannecchini wrote:
Ciao Matt,
steps below...

-apply the rastersymb (you should be able to do so :-) )
-create a geotiff writer for a file
-do a write supplying your grdicoverage to the geotiff writer.

Simone.-

On Fri, May 16, 2008 at 2:56 PM, Matt Foster <[EMAIL PROTECTED]> wrote:
  
If I have a GridCoverage2D and a RasterSymbolizer (with ColorMap) is there
an easy way I can get a color GeoTIFF?  I'm using 2.5M2.

Thanks for any input.

Matt

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


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


    



  

-- 
The cosmos is all that is or ever was or ever will be.
-- Carl Sagan
  
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

-- 
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: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to