Bug report #11102
Save vector layer as ... csv : bad output file when choosing export wkt geometry
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
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 |
Description
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).
Save.
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.
History
#1 Updated by Giovanni Manghi about 10 years ago
- Resolution set to up/downstream
- Status changed from Open to Closed
This was a bug in gdal/ogr, fixed in gdal/ogr 1.11.1