Closed pcav closed 10 years ago
This happens with polylines. With polygons the command returns a success message.
Please note that the file is produced even in the first case.
We'll have to look into what's causing this. Thanks for letting us know.
Originally we only added support to export polygons, but we will add support for exporting polylines too.
Thanks. Layer types not supported should not be listed in the dropdown.
Two changes in the most recent update that speak to this issue: 1) Added support for polyline and multipolyline layer types 2) Removed all unsupported layer types from the dropdown
Traceback (most recent call last): File "/home/paolo/qgis_test/python/plugins/encodedPolyline/encodedpolylinedialog.py", line 69, in run message = encodedPolyline_export_to_csv(self.iface, sourceLayer, outputFilename, outputFieldPrefix, delimiter, lineterminator) File "/home/paolo/qgis_test/python/plugins/encodedPolyline/encodedpolyline.py", line 168, in encodedPolyline_export_to_csv attribute_writer.writerow(row) NameError: global name 'attribute_writer' is not defined