<div dir="ltr"><div dir="ltr"><div>Hi, Richard,</div><div><br></div><div>I like to reproduce what you are reporting me:</div><div><br></div><div>
>- started with QGIS Master and the normal WMS dialog: I saw 10 layers<br>
><and could load the aerials <br></div><div><br></div><div>The layers are surelly 8 not 10.</div><div>But meanwhile 6 layers are from rasters source (they could not have any rendering). There is also one layer from a vector source (the layer named: rt_ofc.5k16.32bit.qu) and it have two distinct and choosable style.</div><div><br></div><div>So I guess you are seeing the two styles definition and treat it as two distinct layers . They instead are only two styles of a layer. Also one of them is the default style. <br></div><div>The two styles are:</div><div>"contorno_blu_fine_senza_etichetta"</div><div>and</div><div>"contorno_blu_fine_con_etichetta"</div><div><br></div>so choosing the vector layer (the queriable layer) leaving the style parameter empty it return the default.<br><div><br></div><div>So I guess this explain the your report of 10 layers. 8 layers + 2 styles.</div><div><br></div><div>But also you report:</div><div><br>
 </div><div>>same session, I opened that node on the browser and then saw MUCH more<br>
</div><div>>layers (a lot of vector layers 'added') and could all load them <br></div><div><br></div><div>I like to understand better what is this.</div><div>But I don't understand what you mean with "opened that node on the browser" . You mean a special browser inside QGIS ?</div><div><br></div><div>Many thx for help.</div><div>A.</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 5 lug 2019 alle ore 10:04 Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 05/07/2019 08.18, Alessandro Pasotti wrote:<br>
<br>
> On Fri, Jul 5, 2019 at 8:13 AM Andrea Peri <<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a><br>
>     <a href="http://www502.regione.toscana.it/ows_ofc/com.rt.wms.RTmap/wms?map=owsofc" rel="noreferrer" target="_blank">http://www502.regione.toscana.it/ows_ofc/com.rt.wms.RTmap/wms?map=owsofc</a><br>
> <br>
>     When I try to add it to a map canvas the connection return le list<br>
>     of layer .<br>
>     Choosing one and using the EPSG:3003.<br>
>     When Add to the canvas I see an error NOT VALID DATA SOURCE.<br>
> <br>
>     The same steps instead work correctly with the old QGIS 2.18.<br>
> <br>
>     Is this confirmed from some other one ?<br>
<br>
I'd say there is something wrong with the server (different endpoints?<br>
url rewriting? proxies?). Because depending on the time and version I<br>
get different results all the time:<br>
- started with QGIS Master and the normal WMS dialog: I saw 10 layers<br>
and could load the aerials<br>
- same session, I opened that node on the browser and then saw MUCH more<br>
layers (a lot of vector layers 'added') and could all load them<br>
- started 3.8 and saw the layers but could not load them<br>
- started master again and saw both in dialog and in browser only the 10<br>
layers<br>
- now I keep seeing only the 10 ortho's (and can load them both in<br>
Master and 3.8.0 which I have here.)<br>
<br>
This is the url QGIS fires:<br>
<a href="http://www502.regione.toscana.it/ows_ofc/com.rt.wms.RTmap/wms?map=owsofc&SERVICE=WMS&REQUEST=GetCapabilities" rel="noreferrer" target="_blank">http://www502.regione.toscana.it/ows_ofc/com.rt.wms.RTmap/wms?map=owsofc&SERVICE=WMS&REQUEST=GetCapabilities</a><br>
as curl command<br>
curl<br>
'<a href="http://www502.regione.toscana.it/ows_ofc/com.rt.wms.RTmap/wms?map=owsofc&SERVICE=WMS&REQUEST=GetCapabilities" rel="noreferrer" target="_blank">http://www502.regione.toscana.it/ows_ofc/com.rt.wms.RTmap/wms?map=owsofc&SERVICE=WMS&REQUEST=GetCapabilities</a>'<br>
-H 'User-Agent: Mozilla/5.0 QGIS/3.9.0-Master'  --compressed<br>
<br>
My guess is there is something with the service...<br>
<br>
Can you maybe sent me a saved project with a layer that does not load<br>
with you?<br>
Can you try to install the QGIS Network logger plugin to see and check<br>
the url's (and replay the urls in the browser)<br>
<br>
Regards,<br>
<br>
Richard<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br></div></div>