WMS-Transparency (?)

Kai Behncke kbehncke at IGF.UNI-OSNABRUECK.DE
Sun Jan 7 14:29:14 EST 2007


Hello List,
I have 2 WMS-Layer in my application.
I would like that the WMS, that is presented on top, is transparent, so that I
can see the layer that lies at the bottom.

Is this possible?
As far as I know in a GetMap-Expression it`s possible to say:
.......&TRANSPARENT=TRUE
but how do I put this in my mapfile?
Like that:

 LAYER
NAME 'Wesermarsch'
TYPE RASTER
STATUS DEFAULT
CONNECTION
'http://127.0.0.1/cgi-bin/mapserv?map=/mapservertest/wms_wfs/wfs_hope/wms_server.map'
CONNECTIONTYPE WMS

METADATA
'wms_server_version' '1.1.1'
'wms_name' 'landkreis_export'
'wms_srs' 'EPSG:31467'
'wms_format' 'image/gif'
'wms_transparent' 'TRUE'
END
END ????

The Layer is not transparent at all :-[ 

I know that it`s possible to put TRANSPERENCY 60 (for example)
in the Layer-section of the mapfile, but I need a transparent WMS.
Does anybody know?
Thank you a lot.
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:kbehncke at igf.uni-osnabrueck.de 
Web:  http://www.igf.uni-osnabrueck.de



More information about the mapserver-users mailing list