Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shp save as CSV is empty #18497

Closed
qgib opened this issue Apr 7, 2014 · 3 comments
Closed

Shp save as CSV is empty #18497

qgib opened this issue Apr 7, 2014 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Apr 7, 2014

Author Name: Barbara Weidenhoefer (Barbara Weidenhoefer)
Original Redmine Issue: 10009
Affected QGIS version: 2.2.0


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.

Note:

  • using a kml or shp file for export (kml attached)
  • save as csv works in previous version (2.0.1)

@qgib
Copy link
Contributor Author

qgib commented Apr 7, 2014

Author Name: Giovanni Manghi (@gioman)


cannot confirm here on Linux and Windows.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Apr 8, 2014

Author Name: Antonio Locandro (Antonio Locandro)


I think something is happening, I tried it myself and I can get points to work but not lines and polygons no matter what settings I change


  • 7113 was configured as singapur.csv
  • 7112 was configured as export.png

@qgib
Copy link
Contributor Author

qgib commented Apr 9, 2014

Author Name: Giovanni Manghi (@gioman)


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.


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant