On Mon, 8 Jan 2007 14:40:09 +0100, Bart van den Eijnden (OSGIS) wrote > 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 > Hello List, thank you for all the hints!! The WMS-Layer I want transparency for is in original a Vector-Layer, so I think I can`t use SLD with <RasterSymbolizer> (Ì´m not so much in SLD by now)?? I always get error messages then.... (that one: http://mapserver.gis.umn.edu/docs/error/eppl7-error)
I found another solution. For the Layer I want transparency for I`m using hatching. I define it in the symbolfile with: SYMBOL NAME "hatch" TYPE HATCH END and in the WMS-Server: STYLE SYMBOL 'hatch' ANGLE 45 COLOR 0 0 0 SIZE 6 WIDTH 1 END That gives transparency in the client. It`s not to 100% what I wanted, but nearly :-) 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
