[mapserver-users] The new composite block in python swig api
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Tue Aug 18 15:38:49 PDT 2015
There doesn't look to be specific support for it in the SWIG configuration. The SWIG interface for layers does reference it in the getOpacity/setOpacity methods but for backwards compatibility reasons. The structure is exposed to SWIG however and should be accessible even without special methods. In perl, something like this should work:
$layer->{compositor}->{opacity} = 50;
$layer->{compositor}->{comp_op} = $mapscript::MS_COMPOP_SCREEN;
Does that help?
Steve
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Andrea Peri
Sent: Saturday, August 15, 2015 1:37 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] The new composite block in python swig api
Hi,
I dont find the new Composite block availability in the doc of python api swig.
Is it instead available in python?
Thx,
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list