[MapServer-users] Mapserver>=8.0: Layer Composite Opacity
Jörg Thomsen (WhereGroup)
joerg.thomsen at wheregroup.com
Wed Aug 7 06:40:29 PDT 2024
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
joerg.thomsen at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
More information about the MapServer-users
mailing list