2

I have a WMS vector layer added to QGIS desktop. But the background is not transparent - it is white. How to change that? When I add this WMS to ArcGIS - all is just fine.

Here is the WMS link:

http://maps.rosreestr.ru/arcgis/services/Cadastre/CadastreWMS/MapServer/WMSServer?
2
  • 1
    Which outputformat did you select when you added the layer into QGIS?
    – user30184
    Apr 21 '15 at 9:02
  • Yeah, it was default set to jpeg. When set to PNG it works fine. Add an answer so i can accept it. Apr 21 '15 at 9:09
9

WMS servers can typically serve images in many formats (jpeg, 8-bit png, 24-bit png etc.). Jpeg format, while it gives a good compression rate for natural looking imagery like aerial photos or satellite images, has a drawback that it does not support transparency.

If you need WMS layers with transparency, use png instead of jpeg as an outputformat. For vector layers png is a good choice anyways because such layers can usually be compressed as effectively with png as with jpeg. Png is also a lossless compression method which keeps the lines on the map sharp.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.