Hello Dieter,

this works with MS 8 on debian:

LAYER
    NAME 'buildings'
    TYPE POLYGON

    CONNECTIONTYPE postgis
    CONNECTION '...'
    DATA '...'

    METADATA
      'ows_title' 'buildings'
      'ows_srs'   'EPSG:4326'
    END

    COMPOSITE
        OPACITY 50
    END

    CLASS
      NAME 'Gebäude'
       STYLE
         WIDTH 1
         OUTLINECOLOR 0 0 0
         COLOR 255 150 50
       END
    END
END

http://schulung.foss.academy/cgi-bin/mapserv?map=opacity&layers=buildings&mode=map&map_imagetype=png&mapext=413024+5318200+414246+5319422

Can you show your layer definition?

regards, Jörg




Am 07.08.24 um 14:53 schrieb GOGIS Dieter Zuberbühler via MapServer-users:
What happend to the 'Layer Composite Opacity' in Mapserver>=8.0? I
tried several versions of Mapserver 8.x on Ubuntu 22.04 and 24.04 and
had always the same result: 'Opacity on Layer Level' is ignored and the
background layers are not visible.

I tried with map2img and phpng (swig), same result.

In the documentation it is still available and the mapfile is parsed
correctly. I can get and set the opacity with php and it will be
written down (save to mapfile) correctly.

Any hint, is this removed or a known problem?

Thank you in advance,

Dieter



--
Viele Grüße,
Jörg Thomsen

***********************************************************
FOSS Academy Sommerschule: Kompaktkurs zum Aufbau einer GDI
02.-06. September 2024, Präsenzveranstaltung in Bonn
https://www.foss-academy.com/kompaktkurse
***********************************************************


Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany

Tel: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11    

[email protected]
www.wheregroup.com

Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885


_______________________________________________
MapServer-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to