[Qgis-developer] MapServer Export PlugIn

Richard Duivenvoorde rdmailings at duif.net
Thu Nov 11 14:06:06 EST 2010


Hi Michele,

you are right, this is an easy fix for polygons without a outline style.

so it is helpfull :-)

I added your patch:
https://trac.osgeo.org/qgis/changeset/14547

Regards,
Richard Duivenvoorde



Michele De Santis wrote:
>  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
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list