Looking at mapserver.h the opacity attribute of a styleObj is exposed via SWIG. So it should be mutable, so there's a documentation problem. You can read the mapfile, change the value and save the mapfile as a quick test.
Can you try another language? Steve ________________________________________ From: [email protected] [[email protected]] on behalf of Stephen Woodbridge [[email protected]] Sent: Friday, January 06, 2012 6:43 PM To: mapserver-users Subject: [mapserver-users] .NET SWIG Mapscript - Bug or Doc issue Hi all, The mapfile STYLE block[1] has OPACITY [integer|attribute] but I do not see this attribute listed in the SWIG mapscript [2] styleObj Attributes list. And I have a report that when trying to use this via .NET mapscript that it does not seem to work. layerObj opacity seems to work just fine. So, is this: a. a code bug or oversight in the SWIG wrappers b. something specific to .NET code c. a documentation bug d. something else all together I'm happy to create appropriate bugs as needed. [1] http://mapserver.org/mapfile/style.html [2] http://mapserver.org/mapscript/mapscript.html#styleobj Thanks, -Steve W _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
