Steve,

I have create a ticket for this problem
http://trac.osgeo.org/mapserver/ticket/4153

The user has provided an image of stepping through the code and a simple example with C# code that reproduces the problems. I have helped him find a work around, but I think we need to look at the bug and figure out if it is SWIG or C# specific issue and clearly some additional doc would be helpful to clarify some potential side effects if they are not bugs. At the moment the bug is assigned to C#-mapscript.

On 1/10/2012 10:37 AM, Lime, Steve D (DNR) wrote:
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?

I don't have perl mapscript built here and it might be a while before I can try it out here. Hopefully the ticket will better explain the problem.

Thanks,
  -Steve

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

Reply via email to