> The thing about layer groups is sort of a middle ground, layer groups
> are declared
> in the caps document as a single layer, so they have to be supported
> by GetLegendGraphics,
> otherwise the WMS can be considered buggy... at the same time, it's
> something that
> we did not have before.
>
> Sure, but think about the way a normal user can react about it: currently
GeoServer, if asked for GetLegendGraphic on a layer group gives the
following response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE ServiceExceptionReport SYSTEM "
http://localhost:8090/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
<ServiceExceptionReport version="1.1.1" >
    <ServiceException>
      spearfish layer does not exist.
    </ServiceException>
</ServiceExceptionReport>

But the spearfish layer DOES exit, I can see it in the Layer Preview list,
it is just not supported, by now.
As a user, I would surely signal this as a bug: I asked for a layer legend,
the layer exists, GeoServer told me this is not true: who is lying here :-)
?

Just my opinion.

Thanks.
Mauro Bartolomeoli




-- 
==
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

-------------------------------------------------------
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to