<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Agrofont">Layer merging problem<br>
      <br>
      Hi List,<br>
      <br>
      When (vertically) merging layers (mapproxy 1.9) results are not as
      expected.<br>
      <br>
      Merging two layers which have fully transparent areas show only
      the topmost layer. The bottom layer is not shown as should (not at
      all).<br>
      If the top layer has no fully transparent areas but is completely
      opaque and opacity is set to eg 0.8 the bottom layer is shown as
      should. <br>
      <br>
      Did I make a config error or did I run into a bug?<br>
      <br>
      Any help greatly appreciated, MArco<br>
      <br>
      An excerpt from my config:<br>
      <br>
      services:<br>
        tms:<br>
          # needs no arguments<br>
        wms:<br>
          srs: ['EPSG:28992']<br>
          image_formats: ['image/png', 'png']<br>
      <br>
      globals:<br>
        cache:<br>
          minimize_meta_requests: true<br>
          meta_size: [1, 1]<br>
          meta_buffer: 0<br>
          <br>
        image:<br>
          paletted: false<br>
          formats:<br>
            image/png:<br>
              mode: RGBA<br>
              transparent: true<br>
      <br>
      sources:<br>
        wms_source1:<br>
          type: wms<br>
          wms_opts: <br>
            featureinfo: true<br>
            legendgraphic: true<br>
          supported_srs: ['EPSG:28992']<br>
          req:<br>
            url: '<a class="moz-txt-link-freetext" href="http://myservice.nl/geoserver/gwc/service/wms">http://myservice.nl/geoserver/gwc/service/wms</a>?'<br>
            layers: 'layer1'<br>
            transparent: true<br>
      <br>
        wms_source2:<br>
          type: wms<br>
          wms_opts: <br>
            featureinfo: true<br>
            legendgraphic: true<br>
          supported_srs: ['EPSG:28992']<br>
          req:<br>
            url: '<a class="moz-txt-link-freetext" href="http://myservice.nl/geoserver/gwc/service/wms">http://myservice.nl/geoserver/gwc/service/wms</a>?'<br>
            layers: 'layer2'<br>
            transparent: true<br>
      <br>
      caches:<br>
        _source1:<br>
           sources: [wms_source1]<br>
           link_single_color_images: true<br>
           disable_storage: true<br>
           image: {opacity: 0.8}<br>
      <br>
        _source2:<br>
           sources: [wms_source2]<br>
           link_single_color_images: true<br>
           disable_storage: true<br>
           image: {opacity: 0.8}<br>
      <br>
      layers:<br>
      <br>
        - name: 'layer1'<br>
          sources: [_source1]<br>
          title: 'layer 1'<br>
      <br>
      <br>
        - name: 'layer2'<br>
          sources: [_source2]<br>
          title: 'Layer 2'<br>
    </font>
  </body>
</html>