[mapserver-users] .NET SWIG Mapscript - Bug or Doc issue

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Jan 10 10:37:59 EST 2012


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: 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[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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list