Hi Mairon, Have a look at RendererUtilities.worldToScreenTransform method http://javadoc.geotools.fr/2.5/org/geotools/renderer/lite/RendererUtilities.html#worldToScreenTransform(org.geotools.geometry.jts.ReferencedEnvelope,%20java.awt.Rectangle)
But also, see this recent exchange on the mailing list about lat-long to screen coordinate errors: http://n2.nabble.com/Accuracy-of-screen-to-world-position-transformations-td1942552.html#a1942552 Hope this helps, Michael 2009/1/6 Mairon Belchior <mairo...@yahoo.com.br>: > Hi All, > > Does anyone know if there is a function in Geotools API that I can convert > lat/lng to pixel(x,y) and vice-versa. > > I´d appreciate any help. > > Mairon Belchior > ________________________________ > Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - > Celebridades - Música - Esportes > ------------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users