[QGIS-Developer] How to migrate the VectorWriter to Qgis3

Xavier Corredor Llano xavier.corredor.llano at gmail.com
Fri Jun 15 09:35:45 PDT 2018


Hi Devs!

I have searched and I don't found any documentation about how to migrate some 
functions inside processing tool, I use it inside my plugin (but it's not a processing plugin 
inself) and I need to migrate specifically the VectorWriter function for write a vector points 
file, such as:

from processing.tools import vector

writer = vector.VectorWriter(....)
...
f = QgsFeature(...)
...
writer.addFeature(f)


Please help, Thanks!

Xavier Corredor Ll.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180615/c07b1c2d/attachment.html>


More information about the QGIS-Developer mailing list