Hm, maybe GDAL handles the alpha channel different for WMS maps. Maybe you can have a look into CMapQMAP.cpp line 384ff. This will read each color as a band from the downloaded WMS map.
Oliver > Ok, > > point one is solved. The cache was already in the wms.xms but in an > other cache folder. Sorry my fault. > > Binary format: > If I use gif the background is violet. > If I use png the background is black. > If I use jpg nothing will shown with transparency=true > If I use tiff the background is black > If I use png; mode=8bit nothing will shown with transparency=true > > Best regards > Thomas Baur > > > > Am Dienstag, den 11.06.2013, 08:39 +0200 schrieb Oliver Eichler: >> Hi Thomas, >> >> >> >>> But it is not working. >>> First of all I found that using a WMS via a qmap the tiles will not >>> stored in cache (If I load the map normal it is working). >> >> Have a look at: >> >> http://www.gdal.org/frmt_wms.html >> >> >> Especially look at this: >> >> <Cache> >> <Path>./gdalwmscache</Path> >> <Depth>2</Depth> >> <Extension>.jpg</Extension> >> </Cache> >> >>> Second, If I use GDAL_wms with <Transparent>TRUE</Transparent> the >>> background is black. >>> So I think there is a problem for the α-channel. >> >> What is your binary format? Jpeg has no alpha channel. But with Png or Gif >> it should be possible. >> >> HTH >> >> Oliver > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
