[mapserver-users] .NET SWIG Mapscript - Bug or Doc issue
woodbri at swoodbridge.com
Wed Jan 11 10:03:07 EST 2012
I have create a ticket for this problem
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.
> From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Stephen Woodbridge [woodbri at swoodbridge.com]
> 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 has OPACITY [integer|attribute] but I do not
> see this attribute listed in the SWIG mapscript  styleObj Attributes
> 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.
>  http://mapserver.org/mapfile/style.html
>  http://mapserver.org/mapscript/mapscript.html#styleobj
> -Steve W
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
More information about the mapserver-users