Marco, here's one thing. As I can see, you have MapServer as your source server. In your map file the outputformat is <br> OUTPUTFORMAT<br> ...<br> IMAGEMODE RGB<br> ...<br> END<br>that means the served images do not have alpha channel, try replacing that with RGBA.<br>
And sorry for a little bit of hacking :) (deny access to the config/map files)<br><br>regards, michael<br><br><div class="gmail_quote">On Fri, Jan 6, 2012 at 7:38 PM, DeDuikertjes <span dir="ltr"><<a href="mailto:DeDuikertjes@xs4all.nl">DeDuikertjes@xs4all.nl</a>></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">Oliver,<br>
<br>
Thank you. I did as you suggested<br>
<br>
I've added a layer to may config (see attached).<br>
The result can be seen at: <br>
<a href="http://178.63.74.185/hosting/demo/show_source.html?layernames=testlufo,Bedrijventerrein&test=true&opacity=1&url=http://test.tiles.md-kwadraat.nl/mp/service" target="_blank">http://178.63.74.185/hosting/demo/show_source.html?layernames=testlufo,Bedrijventerrein&test=true&opacity=1&url=http://test.tiles.md-kwadraat.nl/mp/service</a><br>
<br>
Still the layer defined with transparency 0.4 is fully opaque. Am
miss understanding something?<br>
<br>
Marco<br>
<br>
caches:<br>
_Bedrijventerrein:<br>
grids:<br>
- applas_grid<br>
link_single_color_images: true<br>
sources:<br>
- wms_Bedrijventerrein<br>
_testlufo:<br>
grids:<br>
- applas_grid<br>
link_single_color_images: true<br>
sources:<br>
- wms_testlufo<br>
globals:<br>
cache:<br>
base_dir: /var/applas_user_data/test/cache/<br>
lock_dir: /var/applas_user_data/test/cache/locks/<br>
meta_buffer: 255<br>
meta_size:<br>
- 3<br>
- 3<br>
minimize_meta_requests: true<br>
grids:<br>
applas_grid:<br>
bbox:<br>
- -285401.920000<br>
- 22598.080000<br>
- 595401.920000<br>
- 903401.920000<br>
res:<br>
- 3440.640000<br>
- 1720.320000<br>
- 860.160000<br>
- 430.080000<br>
- 215.040000<br>
- 107.520000<br>
- 53.760000<br>
- 26.880000<br>
- 13.440000<br>
- 6.720000<br>
- 3.360000<br>
- 1.680000<br>
- 0.840000<br>
- 0.420000<br>
- 0.210000<br>
srs: EPSG:28992<br>
tile_size:<br>
- 256<br>
- 256<br>
layers:<br>
- name: Bedrijventerrein<br>
sources:<br>
- _Bedrijventerrein<br>
title: Bedrijventerrein<br>
- name: testlufo<br>
sources:<br>
- _testlufo<br>
title: testlufo<br>
services:<br>
tms: ~<br>
wms:<br>
image_formats:<br>
- image/png<br>
- png<br>
md:<br>
abstract: test for transparency.<br>
access_constraints: none<br>
contact:<br>
address: none<br>
city: none<br>
country: The Netherlands<br>
email: none<br>
organization: none<br>
person: none<br>
phone: none<br>
position: none<br>
postcode: none<br>
fees: None<br>
online_resource: <a href="http://tiles.md-kwadraat.nl/" target="_blank">http://tiles.md-kwadraat.nl/</a><br>
title: test for transparency.<br>
srs:<br>
- EPSG:28992<br>
sources:<br>
wms_Bedrijventerrein:<br>
image:<br>
opacity: 0.400000<br>
req:<br>
layers: Bedrijventerrein<br>
transparent: true<br>
url:
<a href="http://178.63.74.185/fcgi-bin/mapserv?map=/var/www/html/shared/services/wmsproxy/wmsproxy.map" target="_blank">http://178.63.74.185/fcgi-bin/mapserv?map=/var/www/html/shared/services/wmsproxy/wmsproxy.map</a><br>
supported_srs:<br>
- EPSG:28992<br>
type: wms<br>
wms_testlufo:<br>
concurrent_requests: 4<br>
image:<br>
opacity: 1.000000<br>
req:<br>
layers: Lufo<br>
transparent: true<br>
url:
<a href="http://178.63.74.185/fcgi-bin/mapserv?map=/var/www/html/shared/services/wmsproxy/wmsproxy.map" target="_blank">http://178.63.74.185/fcgi-bin/mapserv?map=/var/www/html/shared/services/wmsproxy/wmsproxy.map</a><br>
supported_srs:<br>
- EPSG:28992<br>
type: wms<br>
wms_opts:<br>
featureinfo: true<br>
<br>
<br>
<br>
<br>
<br>
</font>Op 6-1-2012 14:29, Oliver Tonnhofer schreef:
<blockquote type="cite">
<pre>Hi Marco,
On 06.01.2012, at 14:16, DeDuikertjes wrote:
</pre>
<blockquote type="cite">
<pre>Please help me with tracking down this problem.
Is there anything wrong with my config?
How can I track this problem. I really don't know where to start.
</pre>
</blockquote>
<pre>it does only work when you overlay multiple layers. So you should try to add another layer below your layer.
Regards,
Oliver
</pre>
</blockquote>
</div>
<br>_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
<br></blockquote></div><br>