Did you include the gt-sld jar? It should of grabbed the batik jars for you; and contributed the code to handle an svg icon.
Jody On 01/07/2010, at 1:15 AM, andrea antonello wrote: > Hi, I am not able to render (using the stylelab viewer) an svg as point. > > The generated sld has the right part in it (test with online svg): > > <sld:ExternalGraphic> > <sld:OnlineResource > xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" > xlink:href="http://de.geopublishing.org/openmapsymbols/svg/tango/emblems/emblem-favorite.svg"/> > <sld:Format>image/svg+xml</sld:Format> > </sld:ExternalGraphic> > > > But then I get: > > Jun 30, 2010 5:17:21 PM org.geotools.renderer.lite.StyledShapePainter paint > SEVERE: ShapePainter has been asked to paint a null style!! > Jun 30, 2010 5:17:21 PM org.geotools.renderer.lite.StyledShapePainter paint > SEVERE: ShapePainter has been asked to paint a null style!! > Jun 30, 2010 5:17:21 PM org.geotools.renderer.lite.StyledShapePainter paint > SEVERE: ShapePainter has been asked to paint a null style!! > Jun 30, 2010 5:17:21 PM org.geotools.renderer.lite.StyledShapePainter paint > .... > .... > > I added the batik jars to the classpath, in case that might be a doubt. > > Gt version 2.7-SNAPSHOT. > > Any idea what could go wrong? > > Thanks, > Andrea > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users