Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.5.3
-
Fix Version/s: None
-
Component/s: WMS
-
Labels:None
-
Number of attachments :
Description
try using default_polygon.sld against states layer with the SLD paramter... it will not work unless you change the Name of the Name to topp:states. In the least it work without the prefix... and perhaps be smarter enough when there is only a single style in the sld to just use it.
From the SLD specification:
"It has already been described, in Section 6.2, how the LAYERS and STYLES parameters
could be encoded in an SLD. The request references the SLD using a SLD parameter,
which replaces the LAYERS and STYLES parameters. The SLD itself must be accessible
to the WMS and is identified using a URL."
SLD=url replaces both layers and styles parameters, so it must contain all information
needed to draw the map.
If there is one buggy behaviour here, it's that the kvp parser does not consider layers,styles
and sld mutually exclusive and does report an error.
Yet, since sld is not in the wms spec itself, I guess we cannot return an hard error (vendor
parameter should be ignored if they cannot be used)
What do you think?