Andrea Aime wrote: > Milton Jonathan wrote: >> <OnlineResource xlink:type="simple" xlink:href="../svg/myimage.svg"/> >> work) >> - That svg resource was used for a GraphicFill, but even after fixing >> the URL, the resulting fill was a plain grey one, ignoring the >> GraphicFill altogether > > That because you did not set the content type of the image, so the > code cannot find a handler to load it. use "image/svg+xml" and it'll > be loaded properly
Sorry, I didn't include the entire ExternalGraphics tag: I think this information is in the <Format> tag: <ExternalGraphic> <OnlineResource xlink:type="simple" xlink:href="../svg/myimage.svg"/> <Format>image/svg+xml</Format> </ExternalGraphic> Anyway, I should stress that everything is working fine using SLDParser. This is just what didn't work when I switched to the bindings framework. Cheers Milton -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
