[Qgis-user] QGIS Windows build fails to load WMS with format image/jpeg

Andreas Neumann a.neumann at carto.net
Fri Aug 8 02:19:26 PDT 2008


Hi QGIS Windows users,

I have a strange problem that my QGIS Windows build (Metis) doesn't 
support the display of image/jpeg with WMS. It works fine in Linux, but 
not in Windows. I only get image/png as a choice, although the 
GetCapabilities output of the WMS shows support for gif/jpeg/png/tiff.

Is this due to a bug in QT for Windows? I replicated the behavior on 
both Win2000 and WinXP. The same WMS works fine on Linux with image/jpeg.

On the same issue, we discovered that some WMS (e.g. UMN Mapserver) 
offers two version of PNG:

       <Format>image/png</Format>
       <Format>image/png; mode=24bit</Format>

QGIS only picks up the first variant, but in my case I want the second 
one - jpeg is prefered, but png/24bit would be the second choice. I am 
serving orthoimages in this case, where we want 24bit color depth.

The second issue affects all versions of QGIS, while the first issue 
only appears on Windows - works fine in Linux/MacOSX.

Thanks for any feedback on this issue.

Andreas


-- 
Andreas Neumann
Böschacherstrasse 6, CH-8624 Grüt/Gossau, Switzerland
Email: a.neumann at carto.net, Web:
* http://www.carto.net/ (Carto and SVG resources)
* http://www.carto.net/neumann/ (personal page)
* http://www.svgopen.org/ (SVG Open Conference)
* http://www.geofoto.ch/ (Georeferenced Photos of Switzerland)



More information about the Qgis-user mailing list