[mapserver-users] MapCache - tiles stored with no transparency

Eichner, Andreas - SID Andreas.Eichner at sid.sachsen.de
Mon Jun 2 02:41:10 PDT 2014


Since cache and source are basically unrelated it's probably a good idea to specify the request format in the source:

   <source name="..." type="wms">
      <getmap>
         <params>
            <VERSION>1.1.1</VERSION>
            <FORMAT>image/png</FORMAT>
            <LAYERS>layerA,layerB</LAYERS>
            <TRANSPARENT>TRUE</TRANSPARENT>
            <EXCEPTIONS>application/vnd.ogc.se_xml</EXCEPTIONS>
         </params>
      </getmap>
      <http>
       <url>http://.../wmsservice</url>
       <connection_timeout>10</connection_timeout>
      </http>
   </source>

> -----Ursprüngliche Nachricht-----
> Von: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-
> bounces at lists.osgeo.org] Im Auftrag von Dejan Gambin
> Gesendet: Montag, 2. Juni 2014 10:29
> An: mapserver-users at lists.osgeo.org
> Betreff: [mapserver-users] MapCache - tiles stored with no transparency
> 
> Hi,
> 
> I just started playing with MapCache so this could be a pretty newbie
> question...
> 
> I have a layer with transparency set, but my tiles, as I can see in
> filesystem, are stored with no transparency. When using mapcache wms demo,
> I get correct/transparent images but only after first getting non
> transparent ones. So this doesn't look very fine (non transparent image
> that gets "blurred").
> 
> I probably missed something in my configuration, but I don't know what
> because I set PNG format everywhere in mapcache.xml :-(
> 
> Any hint that could help me (btw, I am using the newest
> MapServer/MapCache)?
> 
> Thx very much
> 
> regards, dejan
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list