Hi

On Fri, Dec 27, 2013 at 3:32 PM, Pim Verver <[email protected]> wrote:

>  Hi,
>
>
>
> I am using the QGis python console for the use of exporting an active
> layer from postgist to a shape file layer.  I want to include the
> symbology as is possible through the GUI of QGis 2.
>
>
>
> I am using the 
> writeAsVectorFormat<http://www.qgis.org/api/classQgsVectorFileWriter.html#a289af78b5b609fbcb0572aaf505f2822>method
>  of the QgsVectorFileWriter class, but keep getting errors as if the
> parameter doesn´t exist. Can anybody give me an example of the use of this
> method that includes the used symbology of the original layer.
>
>
>
> Th alternative would be save the style als SLD and import the style file
> after creating the shape layer, but if I can avoid that …
>
>
>
> Thanx in advance kinds regards,
>

Posting a small code snippet of what you have already come up with would
probably be useful for folks wishing to help you.

Regards

Tim


>
>
> Pim Verver
>
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>



-- 
Tim Sutton - QGIS Project Steering Committee Member
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Irc: timlinux on #qgis at freenode.net
==============================================
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to