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

Dejan Gambin dejan.gambin at coin.hr
Mon Jun 2 03:05:44 PDT 2014


This is already specified :-(

Thx anyway


On 2. lip. 2014., at 11:41, Eichner, Andreas - SID wrote:

> 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