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:
<Layer queryable="1" opaque="0">
<Name>poi</Name>
<Title>Manhattan (NY) points of interest</Title>
<!-- more definition -->
</Layer>
As 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, <NamedLayer> is still waiting workspace
in the <Name>. I think it is slightly incorrect.
2014-10-06 18:00 GMT+04:00 Sergey Kolosov <[email protected]>:
> SLD_BODY parameter isn't considered until I add workspace to the Name of
> layer. For example, <Name>tiger:poi</Name> is changing default style as
> expeted, but <Name>poi</Name> makes no difference. Is it mandatory to
> specify workspace? Can i use SLD_BODY without layer name at all?
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users