relative paths not properly working for external graphics
---------------------------------------------------------
Key: GEOT-3235
URL: http://jira.codehaus.org/browse/GEOT-3235
Project: GeoTools
Issue Type: Bug
Components: core styling
Affects Versions: 2.6.0
Environment: all
Reporter: Andrea Antonello
It seems to me that the relative paths in the external graphics do not work
properly.
Currently the following works:
<sld:OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="simple" xlink:href="sld_cookbook_point.png"/>
but programmatically having to supply a URL, the only thing that one achieves
is:
<sld:OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="simple" xlink:href="file:./sld_cookbook_point.png"/>
which instead does not work.
Not work means that the renderer gets a null style leading to:
Aug 5, 2010 2:25:30 PM org.geotools.renderer.lite.StyledShapePainter paint
SEVERE: ShapePainter has been asked to paint a null style!!
Also the same as the first (the working one) for svg graphics doesn't seem to
work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel