Re: [Qgis-developer] Python plugin: Bug with QgsVectorFileWriter?

2014-10-07 Thread Bernhard Ströbl
This works for me: writer = QgsVectorFileWriter("my_shapes.shp", "CP1250", QgsFields(),QGis.WKBLineString, None, "ESRI Shapefile") QGIS 2.4 64 bit on Win7 Which QGIS version do you use? Bernhard Am 07.10.2014 16:21, schrieb Luca Manganelli: Hi, in Python, if I do: writer = QgsVectorFileWr

[Qgis-developer] Python plugin: Bug with QgsVectorFileWriter?

2014-10-07 Thread Luca Manganelli
Hi, in Python, if I do: writer = QgsVectorFileWriter("my_shapes.shp", "CP1250", QgsFields(), QGis.WKBLine, None, "ESRI Shapefile") Qgis raises an error telling that first parameter is "str", but he wants "QString"... ___ Qgis-developer mailing list