WMS-Transparency (?)

Michael Schulz mschulz at WEBGIS.DE
Mon Jan 8 08:17:37 EST 2007


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


2007/1/7, Kai Behncke <kbehncke at igf.uni-osnabrueck.de>:
> 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
>


-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------



More information about the mapserver-users mailing list