Bug report #9597
2.1.0 revision c9a88c1 fails to export spatial information from polyline shape layer to csv
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | - | ||
Affected QGIS version: | 2.0.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 18175 |
Description
Including:
GEOMETRY=AS_WKT
SEPARATOR=SEMICOLON
LINEFORMAT=CRLF
Into the Layer options in the CSV "save..as" dialog in the last stable release (2.0.1 Dufour) results in an expected csv of polyline information. However, attempting to do the same in 2.1.0 only produces a csv of the attribute information without any of the spatial WKT fields.
Also note: under the "More Options >> Layer Options" section of the "Save Vector Layer" dialog there is a drop-down menu for GEOMETRY. The mouse-over help text states "It is possible to export the geometry in its WKT definition by specifying GEOMETRY=AS_WKT". However, there is no GEOMETRY=AS_WKT option in the drop down menu.
Associated revisions
typo in assigning values, fixes #9597
Signed-off-by: Werner Macho <[email protected]>
History
#1 Updated by S Mentzer over 10 years ago
Looks like lines 585 and 598 should be swapped in https://github.com/qgis/QGIS/blob/master/src/core/qgsvectorfilewriter.cpp
#2 Updated by Werner Macho over 10 years ago
- Status changed from Open to Closed
Fixed in changeset 3dc2d8c0eaae4111c5693d08cc3aa2612e66b6f1.