Create a MapContext with your shapefile as a MapLayer and then use the 
renderer to draw the shapefile onto a buffered image. You can then 
export the buffered image as a png file.

Cheers,
Jody

goeserver developer wrote:
> I want to create a java class which will convert a shape file to a PNG file
> without using JFrame or JPanel. 
> Thanks, 
>
>   


-------------------------------------------------------------------------
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-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to