Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] svg in udig

On Tue, Jul 6, 2010 at 10:36 AM, Andrea Aime <aaime@xxxxxxxxxxx> wrote:
> andrea antonello ha scritto:
>>
>> Hi Jody, I remember you talking about some dependency problems from
>> apache.
>>
>> In the RC3 when loading an a shape with svg point symbolizer I get:
>>
>> java.lang.NoClassDefFoundError:
>> org/apache/batik/util/XMLResourceDescriptor
>>        at
>> org.geotools.renderer.style.SVGGraphicFactory.getIcon(SVGGraphicFactory.java:94)
>>        at
>> org.geotools.renderer.style.SLDStyleFactory.getIcon(SLDStyleFactory.java:1096)
>>        at
>> org.geotools.renderer.style.SLDStyleFactory.getImage(SLDStyleFactory.java:1054)
>>        at
>> org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:525)
>>        at
>> org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:442)
>>        at
>> org.geotools.renderer.style.SLDStyleFactory.createStyleInternal(SLDStyleFactory.java:325)
>>        at
>> org.geotools.renderer.style.SLDStyleFactory.createStyle(SLDStyleFactory.java:286)
>>        at net.refractions.udig.ui.Drawing.paint(Drawing.java:325)
>
> Btw, that class is in apache-batik-util-1.7.jar (so if you don't have that
> jar around or the package is not exported, you won't be able to u
> use it... ;-) )

:) I guess so. Shouldn't that come down with gt-svg? Perhaps we do not
have gt-svg in the libs? That would be a pity since it is supported.
Will check that later.

Andrea

>
> Cheers
> Andrea
>
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top