[mapserver-users] problem with setting outline width for polygons
Milo van der Linden
milo at dogodigi.net
Wed Apr 27 04:58:03 PDT 2011
Hello Hans ;-)
I have no experience using C# with Mapscript, but have you tried this?
http://efreedom.com/Question/1-826851/Dynamic-Map-Layer-Mapservers-CSharp-MapScript
Maybe it has something to do with that your colorvalues should be cast to int32
2011/4/27 Hans Wapenaar (GIS Innovations) <hans.wapenaar at gis-innovations.nl>:
> Hi,
>
> I'm using mapserver/mapscript in a windows/visual studio environment and I'm
> getting some errors: when I want to add a style to a layer with polygons the
> setting of a width generates an error.
>
> Any idea what the reason is? Setting of colors etc is no problem.
>
>
>
>
>
> Dim classtest As classObj = New classObj(layer)
>
> Dim styletest2 As styleObj = New styleObj(classtest)
>
> styletest2.outlinecolor.setRGB(74, 74, 74)
>
> styletest2.width = 5
>
>
>
> Error Message:
>
> System.EntryPointNotFoundException: Unable to find an entry point named
> 'CSharp_styleObj_width_set' in DLL 'mapscript'.
>
> at OSGeo.MapServer.mapscriptPINVOKE.styleObj_width_set(HandleRef jarg1,
> Int32 jarg2)
>
> at OSGeo.MapServer.styleObj.set_width(Int32 value)
>
>
>
>
>
> Hans Wapenaar
>
>
>
> _______________________________________________
> 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