[Qgis-user] QGIS WMS Provider is adding a BGCOLOR parameter ?

Nicolas Boisteault boisteault at observatoire-environnement.org
Fri Dec 2 07:01:38 PST 2016


I opened fiddler to watch the WMS URL. Here it is :

http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsctr&map_resolution=91&language=ita&&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=4874693.290393243544,585753.4275104458211,4898190.069728096016,616440.7875092165777&CRS=EPSG:6707&WIDTH=1084&HEIGHT=830&LAYERS=rt_ctr.5k.mosaico_catastale.rt&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE

The TRANSPARENT parameter has TRUE value but I don't know how to force 
to FALSE.

I watched layer's metadata, here it is :

Maybe QGIS read that the layer can be transparent so it adds the parameter.
You should try to configure your server to tell you don't want this 
layer to be transparent.


Nicolas BOISTEAULT
Le 02/12/2016 à 15:34, Andrea Peri a écrit :
> forgot:
>
> image format:
> png
> A.
>
>
> 2016-12-02 15:33 GMT+01:00 Andrea Peri <aperi2007 at gmail.com>:
>> Hi,
>> the url of my wms is this:
>>
>> http://www502.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmsctr
>>
>> the layer in my test is:
>> rt_ctr.5k.mosaico_catastale.rt
>>
>> A.
>>
>>
>> 2016-12-02 15:24 GMT+01:00 Andrea Peri <aperi2007 at gmail.com>:
>>> Ho, i dont know the url invoked by qgis.
>>> I guess this because the returned map has White transparen.
>>>
>>>
>>> Il 02 dic 2016 2:13 PM, "Nicolas Boisteault"
>>> <boisteault at observatoire-environnement.org> ha scritto:
>>>> Hi Andrea,
>>>>
>>>> In QGIS 2.18, I don't have the BGCOLOR parameter added. What is your WMS
>>>> url?
>>>>
>>>> Nicolas BOISTEAULT
>>>> Développeur Web/WebSIG
>>>> Observatoire Régional de l'Environnement
>>>>
>>>> Le 02/12/2016 à 07:53, Andrea Peri a écrit :
>>>>
>>>> Hi,
>>>>
>>>> Is the "wms provider" adding always a parameter BGCOLOR=0xFFFFFF to
>>>> every GetMap request ?
>>>>
>>>> I notice my maps have all the white color transparent.
>>>> I don't understand f it is a default of my wms server or is a hidden
>>>> parameter added by QGIS client.
>>>>
>>>> Thx,
>>>> A.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161202/1bd45e1a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jendoapmjgklaaan.png
Type: image/png
Size: 41837 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20161202/1bd45e1a/attachment.png>


More information about the Qgis-user mailing list