Bug report #10009
Shp save as CSV is empty
|Affected QGIS version:||2.2.0||Regression?:||No|
|Operating System:||Win7||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||invalid|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18497|
using qgis 2.2.0 on a windows 7 notebook
OBSERVED: "save as..." CSV generates an empty csv file.
csv file only contains the column header.
EXPECTED: "save as..." genereates a csv file with lat lon coordinates.
- using a kml or shp file for export (kml attached)
- save as csv works in previous version (2.0.1)
#3 Updated by Giovanni Manghi over 7 years ago
- Resolution set to invalid
- Status changed from Feedback to Closed
The tools works fine.
If the input file is a point layer, then there are no difficulties.
If the input file is a line or polygon layer then the geometry needs to be exported as WKT: in QGIS 2.2 there is this option.
It has no sense exporting a line/polygon geometry as "X/Y".
When the user choosen not to export the geometry then only the attributes are exported, and this is what happens also with the provided kml.