ExternalGraphic doesn't support complete dynamic URL and/or format from feature
attribute
-----------------------------------------------------------------------------------------
Key: GEOT-3137
URL: http://jira.codehaus.org/browse/GEOT-3137
Project: GeoTools
Issue Type: Bug
Components: core render
Reporter: Frank Gasdorf
Assignee: Andrea Aime
Fix For: 2.7-M0, 2.6.4, 2.5.8
Attachments: org.geotools.renderer.style.SLDStyleFactoryTest.patch
Dynamic ExternalGraphic href supports expressions as part of an URL like
http://myservice/${icon} where icon is a attribute of a FeatureType (Attribute
value would be myimage.png).
But if there is a complete URL stored as an attribute value a
MalformedURLException will be thrown for a SLD looking like that:
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="${attributeImageURL}"/>
<Format>image/png</Format>
</ExternalGraphic>
It is not possible to read fromat from feature attribute like:
<ExternalGraphic>
<OnlineResource xlink:type="simple"
xlink:href="http://myservice/${attributeImageURL}"/>
<Format>${attributeImageFormat}</Format>
</ExternalGraphic>
Please have a look at the patch for the test cases.
--
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
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel