On Tue, Jun 18, 2013 at 4:21 PM, Edward Mac Gillavry <
[email protected]> wrote:
> Hi Amiala,
>
> Although the actual tag is "Externalgraphic", you typically refer in your
> SLD to the SVG image using the paths on the local file system as you
> describe in use case 1. Not sure whether the setup in use case 2 using a
> small script to retrieve an image from a small database table is something
> catered for in the current code. Andrea?
>
It may well be that the Apache Batik code doing the parsing cannot handle
the remote resource, we normally just give it a string representing
the path to the file, so it might be that it just works on local files.
I see the code could also be modified to give it a stream instead, maybe
that would work even with remote sources... it's something that needs
to be tested.
Can anybody open a ticket on jira.codehaus.org? If anybody is interested in
trying a fix out, the class to be modified is SVGGraphicFactory
back in GeoTools gt-svg module
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users