SLD_BODY parameter isn’t considered until I add workspace to the Name of layer. For example, tiger:poi is changing default style as expeted, but poi makes no difference. Is it mandatory to specify workspace? Can i use SLD_BODY without layer name at all?
Let me explain, why I don’t want (or even can’t) to specify workspace.
When I add some layer from GeoServer, I use GetCapabilities method to fetch layer list. For example, http://localhost:8080/geoserver/tiger/wms?request=GetCapabilities&service=WMS&version=1.0.0
GeoServer returns this snippet:
poi Manhattan (NY) points of interestAs long as I specify workspace in the GetCapabilities URL, layer name is poi, not tiger:poi. And there is no way to find out workspace in GetCapabilities XML (besides parsing URL).
After layer is added to the map, it works via WMS, WFS and even WFS-T with no need in workspace in the name.
And then comes SLD_BODY and breaks all my scheme :). Because even if workspace is specified in the url, is still waiting workspace in the . I think it is slightly incorrect.
···
2014-10-06 18:00 GMT+04:00 Sergey Kolosov <sergey.kolosof@anonymised.com>:
SLD_BODY parameter isn’t considered until I add workspace to the Name of layer. For example, tiger:poi is changing default style as expeted, but poi makes no difference. Is it mandatory to specify workspace? Can i use SLD_BODY without layer name at all?