<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Michael,<br>
      <br>
      Thanks for your prompt response.<br>
      <br>
      The WMS-service is not under my control.<br>
      It's an ArcGIS10 server (the one serving the layer which doesn't
      like te be opaque). <br>
      Probably the image is quantised, but that's what we want as we are
      aiming on mobile use.<br>
      <br>
      Is there a way to see if the image is quantised?<br>
      Why is there a problem? Can it be mitigated?<br>
      <br>
      MArco<br>
    </font><br>
    Op 3-1-2012 16:15, Michael Shishcu schreef:
    <blockquote
cite="mid:CAKbwmJBPCbVqwEMgkCv4Lt6FMo6g5PYJdFmHzErTra8yOEoYAQ@mail.gmail.com"
      type="cite">Hi,<br>
      <br>
      Do you have quantisation for the outputformat at the mapserver
      side? if so, this can be the problem.<br>
      <br>
      regards, michael<br>
      <br>
      <div class="gmail_quote">On Tue, Jan 3, 2012 at 5:08 PM,
        DeDuikertjes <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:DeDuikertjes@xs4all.nl">DeDuikertjes@xs4all.nl</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> <font size="-1">List,<br>
              <br>
              I've the mapproxy config to my liking. Everything is
              working fine except for the opacity on a source.<br>
              <br>
              I would expect a layer pointing to a cache pointing to a
              source with definition:<br>
              &nbsp; wms_Bedrijventerrein:<br>
              &nbsp;&nbsp;&nbsp; concurrent_requests: 4<br>
              &nbsp;&nbsp;&nbsp; image: {opacity: 0.1}<br>
              &nbsp;&nbsp;&nbsp; req: { layers: Bedrijventerrein, transparent: true,
              url: '<a moz-do-not-send="true"
                href="http://myservice.nl/MapServer/WMSServer"
                target="_blank">http://myservice.nl/MapServer/WMSServer</a>'}<br>
              &nbsp;&nbsp;&nbsp; seed_only: false<br>
              &nbsp;&nbsp;&nbsp; supported_srs: ['EPSG:28992']<br>
              &nbsp;&nbsp;&nbsp; type: wms<br>
              &nbsp;&nbsp;&nbsp; wms_opts: {featureinfo: true}<br>
              to be rendered almost transparent when requested and/ or
              merged on top of other layers. <br>
              The result is unfortunately fully opaque.<br>
              <br>
              Can anyone point me to what I am doing wrong.<br>
              <br>
              I've isolated the problem and tested it in the
              configuration attached below.<br>
              <br>
              Any help greatly appreciated,<br>
              MArco<br>
              <br>
              caches:<br>
              &nbsp; _Bedrijventerrein:<br>
              &nbsp;&nbsp;&nbsp; grids: [applas_grid]<br>
              &nbsp;&nbsp;&nbsp; link_single_color_images: true<br>
              &nbsp;&nbsp;&nbsp; sources: [wms_Bedrijventerrein]<br>
              &nbsp; _lufo:<br>
              &nbsp;&nbsp;&nbsp; cache: {directory_layout: tc, type: file}<br>
              &nbsp;&nbsp;&nbsp; grids: [applas_grid]<br>
              &nbsp;&nbsp;&nbsp; link_single_color_images: true<br>
              &nbsp;&nbsp;&nbsp; meta_buffer: 0<br>
              &nbsp;&nbsp;&nbsp; meta_size: [4, 4]<br>
              &nbsp;&nbsp;&nbsp; minimize_meta_requests: true<br>
              &nbsp;&nbsp;&nbsp; sources: [lufo_wms]<br>
              &nbsp;&nbsp;&nbsp; format: image/png<br>
              &nbsp;&nbsp;&nbsp; image:<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mode: RGBA<br>
              globals:<br>
              &nbsp; cache:<br>
              &nbsp;&nbsp;&nbsp; base_dir: /var/applas_user_data/prod/cache/<br>
              &nbsp;&nbsp;&nbsp; lock_dir: /var/applas_user_data/prod/cache/locks/<br>
              &nbsp;&nbsp;&nbsp; meta_buffer: 255<br>
              &nbsp;&nbsp;&nbsp; meta_size: [3, 3]<br>
              &nbsp;&nbsp;&nbsp; minimize_meta_requests: true<br>
              &nbsp; image:<br>
              &nbsp;&nbsp;&nbsp; formats:<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; image/png:<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; encoding_options: {quantizer: fastoctree}<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mode: P<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transparent: true<br>
              grids:<br>
              &nbsp; applas_grid:<br>
              &nbsp;&nbsp;&nbsp; bbox: [-285401.91999999998, 22598.080000000002,
              595401.92000000004, 903401.92000000004]<br>
              &nbsp;&nbsp;&nbsp; res: [3440.6399999999999, 1720.3199999999999,
              860.15999999999997, 430.07999999999998,<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 215.03999999999999, 107.52, 53.759999999999998,
              26.879999999999999, 13.44, 6.7199999999999998,<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.3599999999999999, 1.6799999999999999,
              0.83999999999999997, 0.41999999999999998,<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.20999999999999999]<br>
              &nbsp;&nbsp;&nbsp; srs: EPSG:28992<br>
              &nbsp;&nbsp;&nbsp; tile_size: [256, 256]<br>
              layers:<br>
              - name: lufo<br>
              &nbsp; sources: [_lufo]<br>
              &nbsp; title: Luchtfoto<br>
              - name: Bedrijventerrein<br>
              &nbsp; sources: [_Bedrijventerrein]<br>
              &nbsp; title: Bedrijventerrein<br>
              services:<br>
              &nbsp; tms: null<br>
              &nbsp; wms:<br>
              &nbsp;&nbsp;&nbsp; image_formats: ['image/png']<br>
              &nbsp;&nbsp;&nbsp; md:<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abstract: Tiled WMS<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; access_constraints: None<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contact: {address: mystreet 1, city: Utrecht,
              country: The Netherlands, email: <a
                moz-do-not-send="true" href="mailto:nope@spam.org"
                target="_blank">nope@spam.org</a>,<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; organization: nope, person: nope, phone: nope,<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; position: Technical Director, postcode: nope}<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fees: None<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; online_resource: <a moz-do-not-send="true"
                href="http://myservice.nl/" target="_blank">http://myservice.nl/</a><br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title: tile service.<br>
              &nbsp;&nbsp;&nbsp; srs: ['EPSG:28992', 'EPSG:900913', 'EPSG:4326']<br>
              sources:<br>
              &nbsp; lufo_wms:<br>
              &nbsp;&nbsp;&nbsp; concurrent_requests: 4<br>
              &nbsp;&nbsp;&nbsp; req: {layers: ipo_luchtfoto_actueel, url: '<a
                moz-do-not-send="true"
                href="http://myservice.nl/mapserv.cgi?map=luchtfoto.map"
                target="_blank">http://myservice.nl/mapserv.cgi?map=luchtfoto.map</a>'}<br>
              &nbsp;&nbsp;&nbsp; supported_srs: ['EPSG:28992']<br>
              &nbsp;&nbsp;&nbsp; type: wms<br>
              &nbsp; wms_Bedrijventerrein:<br>
              &nbsp;&nbsp;&nbsp; concurrent_requests: 4<br>
              &nbsp;&nbsp;&nbsp; image: {opacity: 0.1}<br>
              &nbsp;&nbsp;&nbsp; req: { layers: Bedrijventerrein, transparent: true,
              url: '<a moz-do-not-send="true"
                href="http://myservice.nl/MapServer/WMSServer"
                target="_blank">http://myservice.nl/MapServer/WMSServer</a>'}<br>
              &nbsp;&nbsp;&nbsp; seed_only: false<br>
              &nbsp;&nbsp;&nbsp; supported_srs: ['EPSG:28992']<br>
              &nbsp;&nbsp;&nbsp; type: wms<br>
              &nbsp;&nbsp;&nbsp; wms_opts: {featureinfo: true}<br>
            </font> </div>
          <br>
          _______________________________________________<br>
          MapProxy mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.osgeo.org/mailman/listinfo/mapproxy"
            target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
          <br>
        </blockquote>
      </div>
      <br>
    </blockquote>
  </body>
</html>