Bug report #15990

wms png transparency not honoured

Added by Regis Haubourg almost 8 years ago. Updated almost 8 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:René-Luc ReLuc
Category:QGIS Server
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:23906

Description

Testing QGIS server 3 with QGIS 3 client, png image requested do not honour the transparency for white background.
Most probably it is a server issue because other wms sources work well.

qgis_mapserv_master_countries_transparent.png (154 KB) René-Luc ReLuc, 2017-01-06 12:39 AM

qgis_mapserv_214_countries_transparent.png (131 KB) René-Luc ReLuc, 2017-01-06 12:43 AM

History

#2 Updated by Giovanni Manghi almost 8 years ago

  • Category set to QGIS Server
  • Status changed from Open to Feedback

patch merged, can we close?

#3 Updated by Regis Haubourg almost 8 years ago

Let me check that (compiling now)

#4 Updated by Regis Haubourg almost 8 years ago

  • Assignee set to Marco Hugentobler

Mmm, that is still not transparent here . Anyone confirms?

#5 Updated by Regis Haubourg almost 8 years ago

tested on revision f67cdc3965187cc62002e005aedb6a43956ea282

#6 Updated by René-Luc ReLuc almost 8 years ago

Confirmed with this request `SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-40.42095738741319622,-189,71.67899928492427364,189&CRS=EPSG:4326&WIDTH=1046&HEIGHT=310&LAYERS=countrie&STYLES=&FORMAT=image/png&DPI=220&TRANSPARENT=TRUE` based on Admin O from Natural Earth http://www.naturalearthdata.com/downloads/110m-cultural-vectors/110m-admin-0-countries/

It also means that `transparent` parameter is not tested!

#8 Updated by Regis Haubourg almost 8 years ago

Thanks René-Luc. We have a blocker then for tiled web clients.

#9 Updated by René-Luc ReLuc almost 8 years ago

But it is the master and we are working on rewrote all...

#10 Updated by René-Luc ReLuc almost 8 years ago

Hi Régis,
I think the regression comes from Paul Blottiere work about using QgsMapSettings.
No background is set in mapSettings for map rendering. I'll test it.

#11 Updated by René-Luc ReLuc almost 8 years ago

  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from Open to In Progress

#12 Updated by René-Luc ReLuc almost 8 years ago

  • Status changed from In Progress to Closed
  • Resolution set to fixed/implemented

PR merge #bc4c47029498275c00a918525f78e80f6262b6cf

Also available in: Atom PDF