|
Issue Type:
|
Bug
|
Affects Versions:
|
2.2.3
|
Assignee:
|
Andrea Aime
|
Components:
|
WMS
|
Created:
|
28/Jan/13 11:15 AM
|
Description:
|
I used the “line” type of <Mark> from QGIS. When I run this in GeoServer it errors and fails to render the legend:
28 Jan 17:04:35 ERROR [org.geoserver.ows] -
java.lang.IllegalArgumentException: The specified mark line was not found!
at org.geotools.renderer.style.SLDStyleFactory.createPointStyle(SLDStyleFactory.java:632)
at org.geotools.renderer.style.SLDStyleFactory.getGraphicStroke(SLDStyleFactory.java:901)
at org.geotools.renderer.style.SLDStyleFactory.createLineStyle(SLDStyleFactory.java:465)
I believe at best this should be a “Warn” level event and GeoServer should handle it gracefully, continuing to render the Legend.
The SLD 1.0 (and 1.1) spec says:
“Allowed values include at least âsquareâ, âcircleâ, âtriangleâ, âstarâ, âcrossâ, and âxâ, though map servers may draw a different symbol instead if they don’t have a shape for all of these.”
Which certainly suggests you don’t need to be strict.
|
Project:
|
GeoServer
|
Priority:
|
Minor
|
Reporter:
|
Jonathan Moules
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa).
For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)