Hi Matt,
2014-02-21 21:27 GMT+01:00 maw269 <[email protected]>:
> Now that I have my STYLES within my workspace, when I tried to access them
> via:
>
> https://myserver/geoserver/wms?LAYERS=myLayer&STYLES=myStyle&ETC...
>
> I get an error saying the 'myStyle' was not found.
>
> Copying the way the GeoServer Layer Preview does it, I added the workspace
> to the base url like such:
>
> https://myserver/geoserver/*
> <myWorkspace>*/wms?LAYERS=myLayer&STYLES=myStyle&ETC...
> and this works fine.
>
> Why do I have to do that? Is the reason explained within the WMS standard
> or
> GeoServer manual?
>
>
Unfortunately at the moment styles defined inside a workspace can only be
used when you specify the workspace on the request (this happens also for
layergroups, but not for layers).
This is considered a limit/issue of the current implementation.
The community is discussing on how to solve this. Please, have a look at
this thread:
http://osgeo-org.1560.x6.nabble.com/changing-fixing-behaviour-of-local-styles-and-layer-groups-td5101965.html
Cheers,
Mauro
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users