Re: [Qgis-user] Wrong retrieving of wms legend

2016-09-09 Thread Andrea Peri
Hi Richard, I do some other test. Firstly. I try to add a dummy style (a style defined without no any kind of rendering) and the issu on the legend is disappeared. This is ok. But do some other test, and see that the question was not really due to the absence of a style in rasters, but instead

Re: [Qgis-user] Wrong retrieving of wms legend

2016-09-08 Thread Andrea Peri
Hi Richard, I forward you explanationto the mapserver-user list. Meanwhile my problem is what mean give a style to a set of ortophoot as an unique catalogue ? AFAIK this interpretation of the OGC specs mean that in a WMS service can be available ONLY 1 image layers. This also in qgisserver A

Re: [Qgis-user] Wrong retrieving of wms legend

2016-09-08 Thread Richard Duivenvoorde
Hi Andrea, note that I also added a comment at the code which is reponsible for this: https://github.com/qgis/QGIS/commit/69bed218373b3f93671f65bc3d02c45cbf683a48#comments Patrick's response there on this (see comment): " IMHO, there is nothing to fix in QGIS, here. If a layer defines no

Re: [Qgis-user] Wrong retrieving of wms legend

2016-09-03 Thread aperi2007
Hi Richard, I tested also the QGIS 2.8 and the QGIS 2.12 no one of them has this issue. >Bingo: that is the one we are actually retrieving, the parent node's style and legend. So: not sure if that is desired behaviour... at least not for a legend.. Ok, now is more clear what is happened.

Re: [Qgis-user] Wrong retrieving of wms legend

2016-09-03 Thread Richard Duivenvoorde
Ok, at first the problem seemed the dot in the layernames: This is the GetMap request QGIS fires off:

Re: [Qgis-user] Wrong retrieving of wms legend

2016-09-03 Thread Andrea Peri
Hi Richard. Effectivelly I tested your wms and using it the legend is correctly retrieved only for the layer choose. I use qgis 2.16.1. After I re-test my original url: (this) http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsofc And again I see the qgis retrieve ALL the

Re: [Qgis-user] Wrong retrieving of wms legend

2016-09-03 Thread Richard Duivenvoorde
On 31-08-16 21:10, Andrea Peri wrote: > Hi, > I notive that in the qgis 2.14.5 and in the qgis 2.16.1 > when adding a layer wms choosing from a list of layers available in > the wms service connected, > qgis retrieve as legend of the layer ALL the legends of all the wms > layer available in the

[Qgis-user] Wrong retrieving of wms legend

2016-08-31 Thread Andrea Peri
Hi, I notive that in the qgis 2.14.5 and in the qgis 2.16.1 when adding a layer wms choosing from a list of layers available in the wms service connected, qgis retrieve as legend of the layer ALL the legends of all the wms layer available in the wms service. Using the 2.8 QGIS version, the legend