Bug report #11102
Save vector layer as ... csv : bad output file when choosing export wkt geometry
|Affected QGIS version:||2.4.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||19433|
Right click on a polygon vector layer > Save as... delimited text file
keep "avoid attribute creation" unchecked
check "add saved map to canvas"
choose in the layer options As_Wkt for the geometry.
I left all the other options by default (no csvt, comma separated, no write_Bom, default lineformat).
I got a csv I can't understand the structure (see the attached file).
From 29 features in my shapefile, the csv create 15 lines.
I try to add the csv file as layer with the "add delimited text layer" tool but can't find the good combinations to get the same structure as my shapefile.
In the file attached, if I choose "csvt : yes" when saving, the gid field is even empty in the csv.
Am I doing something wrong?
I'm on Windows 7.