You should be able to do this by using an SLD. Try something like (not verified!):
"wms_sld_body" "<StyledLayerDescriptor version='1.0.0' xmlns='http://www.opengis.net/sld' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.opengis.net/sld http://schemas.opengeospatial.net/sld/1.0.0/StyledLayerDescriptor.xsd'><NamedLayer><Name>YOURLAYERNAME</Name><UserStyle><FeatureTypeStyle><Rule><RasterSymbolizer><Opacity>0.5</Opacity></Rule></FeatureTypeStyle></UserStyle></NamedLayer></StyledLayerDescriptor>" Change YOURLAYERNAME into the name of your layer (wms_name). See also: http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0406/msg00538.html Hope this helps. Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl --------- Oorspronkelijk bericht -------- Van: Kai Behncke <[EMAIL PROTECTED]> Naar: [email protected] <[email protected]> Onderwerp: Re: [UMN_MAPSERVER-USERS] WMS-Transparency (?) Datum: 08/01/07 11:23 > On Mon, 8 Jan 2007 14:17:37 +0100, Michael Schulz wrote > > Hi Kai, > > > > did you try it with "OFFSITE 255 255 255" for the layer definition > > that cascades your wms? > > I am not sure what mapservers behaviour is, when cascading a > > transparent wms - if that transparency is (or can be) automatically > > used. > > > > Cheers, Michael > > > Hello Michael, > thank you for that information. > I already checked out OFFSITE [r] [g] [b] and it made > the layer on the top transparent (but it is a 100% transparency). > > I would like to get it in a way that it`s just 50% transparent (so that one > can see the topic layer und underneath the streets, river, etc. of the > bottom-layer). > But I guess that this is not possible with wms-layer? > > Regards, Kai > -- > Dipl.-Geogr. Dipl.-Umweltw. Kai Behncke > > Institut für Geoinformatik und Fernerkundung (IGF) > Universität Osnabrück > Kolpingstr. 7 > 49074 Osnabrück > > Raum: 01/308 > Tel.: +49 541 969-4450 > E-Mail: mailto:[EMAIL PROTECTED] > Web: http://www.igf.uni-osnabrueck.de > >
