Hello everyone, I need some help here, please...
I am using GEOServer and I have:
1. My own .sld style with external graphics (svg), which works totally fine
while it getting image from the local directory: "file:/d:/images"
2. I have table in database with .svg images. I can get this image by
following request to my server in the Internet browser:
http://127.0.0.1:3333/getImage.rsc?name=123. And it works perfect.
Then I am trying to get this image from SLD file. Here is a sld fragment:
<sld:Graphic>
<sld:ExternalGraphic>
<sld:OnlineResource xlink:type="simple"
xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="http://127.0.0.1:3333/getImage.rsc?name=123"/>
<sld:Format>image/svg+xml</sld:Format>
</sld:ExternalGraphic>
</sld:Graphic>
And as a result I have nothing instead of image. Not any mistakes.. just
nothing. Style is still working, but In legend i have empty space instead
of pic. I am checking my server with images, it looks like GeoServer is not
sending any request to my server. So problem is not in response, but in the
request.
So my question is *Can i provide this href
(http://127.0.0.1:3333/getImage.rsc?name=123) as a href to svg image?* Is it
any mistake in it? Or any other ideas why it happens?
Thank you.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Using-external-svg-image-from-the-database-in-SLD-file-tp5060881.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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