[Geoserver-users] getlegendgraphic on embeded geowebcache layers fails

Hi,

If we use the embedded geowebcache, then a call to the getlegendgraphic request will send an exception : “TOTO is not served by a WMS backend”

request :

http://localhost:8080/geoserver/gwc/service/wms?TRANSPARENT=true&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=TOTO&FORMAT=image/gif&SCALE=4000000.0000000005

I would add that the getlegendgraphic is available in GWC capabilities document.

Is this a bug or can we add a backend to an embedded cached layer ?

Thanks


Florent Gravin
Camptocamp - Chambéry
0479444492

On Wed, May 22, 2013 at 2:52 PM, Florent Gravin <
florent.gravin@anonymised.com> wrote:

Hi,

If we use the embedded geowebcache, then a call to the getlegendgraphic
request will send an exception : "TOTO is not served by a WMS backend"

request :

http://localhost:8080/geoserver/gwc/service/wms?TRANSPARENT=true&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=TOTO&FORMAT=image/gif&SCALE=4000000.0000000005

I would add that the getlegendgraphic is available in GWC capabilities
document.

Is this a bug or can we add a backend to an embedded cached layer ?

The stand alone version of GWC can already pass down a GetLegendGraphics
request, but as the TODO says, it's not implemented in the
integrated version. Some code needs to be written.

Cheers
Andrea

--

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------