I think that what you need is the StreamingRenderer, you can make it draw vector data on a Graphics via a style. You can create a Graphics without a component, you can use a BufferedImage.
Simone. ------------------------------------------------------- Ing. Simone Giannecchini GeoSolutions S.A.S. Owner - Software Engineer Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it http://simboss.blogspot.com/ http://www.linkedin.com/in/simonegiannecchini ------------------------------------------------------- On Sun, Jun 14, 2009 at 3:47 PM, Rafael Soto<rafael.s...@gmail.com> wrote: > Hi Folks, > > After so much researchs on the google left only the geotools users! > So.. I have some geometries in one table of Postgis and i need to generate a > .png image file from this.. > Using JTS and database driver i found one way to read that to my application > and now i have one List<Geometry>. > Keep going to question! How i rendering JTS Geometry to .png or another > image file directly without swing or awt components because this application > just run in Application Server. > > Hope the help! > > -- > Rafael Soto > Sent from Brasilia, DF, Brazil > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users