<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body 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>
wms_Bedrijventerrein:<br>
concurrent_requests: 4<br>
image: {opacity: 0.1}<br>
req: { layers: Bedrijventerrein, transparent: true, url:
'<a class="moz-txt-link-freetext" href="http://myservice.nl/MapServer/WMSServer">http://myservice.nl/MapServer/WMSServer</a>'}<br>
seed_only: false<br>
supported_srs: ['EPSG:28992']<br>
type: wms<br>
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>
_Bedrijventerrein:<br>
grids: [applas_grid]<br>
link_single_color_images: true<br>
sources: [wms_Bedrijventerrein]<br>
_lufo:<br>
cache: {directory_layout: tc, type: file}<br>
grids: [applas_grid]<br>
link_single_color_images: true<br>
meta_buffer: 0<br>
meta_size: [4, 4]<br>
minimize_meta_requests: true<br>
sources: [lufo_wms]<br>
format: image/png<br>
image:<br>
mode: RGBA<br>
globals:<br>
cache:<br>
base_dir: /var/applas_user_data/prod/cache/<br>
lock_dir: /var/applas_user_data/prod/cache/locks/<br>
meta_buffer: 255<br>
meta_size: [3, 3]<br>
minimize_meta_requests: true<br>
image:<br>
formats:<br>
image/png:<br>
encoding_options: {quantizer: fastoctree}<br>
mode: P<br>
transparent: true<br>
grids:<br>
applas_grid:<br>
bbox: [-285401.91999999998, 22598.080000000002,
595401.92000000004, 903401.92000000004]<br>
res: [3440.6399999999999, 1720.3199999999999,
860.15999999999997, 430.07999999999998,<br>
215.03999999999999, 107.52, 53.759999999999998,
26.879999999999999, 13.44, 6.7199999999999998,<br>
3.3599999999999999, 1.6799999999999999, 0.83999999999999997,
0.41999999999999998,<br>
0.20999999999999999]<br>
srs: EPSG:28992<br>
tile_size: [256, 256]<br>
layers:<br>
- name: lufo<br>
sources: [_lufo]<br>
title: Luchtfoto<br>
- name: Bedrijventerrein<br>
sources: [_Bedrijventerrein]<br>
title: Bedrijventerrein<br>
services:<br>
tms: null<br>
wms:<br>
image_formats: ['image/png']<br>
md:<br>
abstract: Tiled WMS<br>
access_constraints: None<br>
contact: {address: mystreet 1, city: Utrecht, country: The
Netherlands, email: <a class="moz-txt-link-abbreviated" href="mailto:nope@spam.org">nope@spam.org</a>,<br>
organization: nope, person: nope, phone: nope,<br>
position: Technical Director, postcode: nope}<br>
fees: None<br>
online_resource: <a class="moz-txt-link-freetext" href="http://myservice.nl/">http://myservice.nl/</a><br>
title: tile service.<br>
srs: ['EPSG:28992', 'EPSG:900913', 'EPSG:4326']<br>
sources:<br>
lufo_wms:<br>
concurrent_requests: 4<br>
req: {layers: ipo_luchtfoto_actueel, url:
'<a class="moz-txt-link-freetext" href="http://myservice.nl/mapserv.cgi?map=luchtfoto.map">http://myservice.nl/mapserv.cgi?map=luchtfoto.map</a>'}<br>
supported_srs: ['EPSG:28992']<br>
type: wms<br>
wms_Bedrijventerrein:<br>
concurrent_requests: 4<br>
image: {opacity: 0.1}<br>
req: { layers: Bedrijventerrein, transparent: true, url:
'<a class="moz-txt-link-freetext" href="http://myservice.nl/MapServer/WMSServer">http://myservice.nl/MapServer/WMSServer</a>'}<br>
seed_only: false<br>
supported_srs: ['EPSG:28992']<br>
type: wms<br>
wms_opts: {featureinfo: true}<br>
</font>
</body>
</html>