[Users] WMSLegend

Raffaele Morelli raffaele.morelli at gmail.com
Tue Aug 6 13:26:41 CEST 2013


Hi,

can't get WMSLegend working for a layer.
I am working on this web app:
http://cen.isprambiente.it/~rmorelli/openlayers/

Legend shows up only for overlays layers but not for the others.

Layers come from a mapserver WMS server, mapfiles CLASS definitions are
pretty similar and METADATA parameters also do; GetLegendGraphic requests
work as you can test below:

Elettrodotti
http://cen.isprambiente.it/cgi-bin/elf_italia?SERVICE=WMS&VERSION=1.1.1&REQUEST=getlegendgraphic&FORMAT=image/png&LAYER=linee

Overlays
http://cen.isprambiente.it/cgi-bin/rf_indicatori?SERVICE=WMS&VERSION=1.1.1&REQUEST=getlegendgraphic&FORMAT=image/png&LAYER=n_sost_regione

Any hints?

Regards
/raffaele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130806/d00fd590/attachment.htm 


More information about the Users mailing list