[Qgis-developer] MapServer Export PlugIn

Michele De Santis tape2m at virgilio.it
Thu Nov 11 11:18:17 EST 2010


 Hi all,

working with MapServer Export PlugIn, I discovered that the STYLE of mapfile has always OUTLINECOLOR  even if the outlinestyle is "Nothing".
I resolved with a control in ms_export.py file.
In writeClassStyleContent, i calculate 

outlinestyle = self.getSymbolProperty(symbolNode, 'outlinestyle')
-
-
-

and before writing OUTLINECOLOR, I insert 

if 'NoPen' != outlinestyle:
            class_def += "         OUTLINECOLOR " + outlinecolor + "\n"



I don't know, if it's helpful.

Hi
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20101111/2a5f5ca3/attachment.html


More information about the Qgis-developer mailing list