Skip to main content
replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Source Link

These questions have been asked before, but since they are not answered I will try to pick up the ends here.

  1. First, as stated here:

QGIS 2.2 saving layer as CSV with GEOMETRY=AS_WKT not workingQGIS 2.2 saving layer as CSV with GEOMETRY=AS_WKT not working

in Qgis 2.2 it is not possible to save a shapefile as .csv including the coordinates using the function GEOMETRY=AS_WKT. The issue

http://hub.qgis.org/issues/9597

is set to closed. Does it mean that it has been fixed? And if so, how to make it work again?

  1. Second, if you want to save a shape file as .csv with coordinates through PyQgis it can be done with:

    Writing vector layer to CSV file with geometry using PyQGIS?Writing vector layer to CSV file with geometry using PyQGIS?

as stated here:

Writing vector layer to CSV file with geometry using PyQGIS?Writing vector layer to CSV file with geometry using PyQGIS?

But again, this does not save the coordinates, and I can't find any solution to this either. So right now, I still have to use an old version on QGIS.

IS there any solutions to these, available at the moment?

These questions have been asked before, but since they are not answered I will try to pick up the ends here.

  1. First, as stated here:

QGIS 2.2 saving layer as CSV with GEOMETRY=AS_WKT not working

in Qgis 2.2 it is not possible to save a shapefile as .csv including the coordinates using the function GEOMETRY=AS_WKT. The issue

http://hub.qgis.org/issues/9597

is set to closed. Does it mean that it has been fixed? And if so, how to make it work again?

  1. Second, if you want to save a shape file as .csv with coordinates through PyQgis it can be done with:

    Writing vector layer to CSV file with geometry using PyQGIS?

as stated here:

Writing vector layer to CSV file with geometry using PyQGIS?

But again, this does not save the coordinates, and I can't find any solution to this either. So right now, I still have to use an old version on QGIS.

IS there any solutions to these, available at the moment?

These questions have been asked before, but since they are not answered I will try to pick up the ends here.

  1. First, as stated here:

QGIS 2.2 saving layer as CSV with GEOMETRY=AS_WKT not working

in Qgis 2.2 it is not possible to save a shapefile as .csv including the coordinates using the function GEOMETRY=AS_WKT. The issue

http://hub.qgis.org/issues/9597

is set to closed. Does it mean that it has been fixed? And if so, how to make it work again?

  1. Second, if you want to save a shape file as .csv with coordinates through PyQgis it can be done with:

    Writing vector layer to CSV file with geometry using PyQGIS?

as stated here:

Writing vector layer to CSV file with geometry using PyQGIS?

But again, this does not save the coordinates, and I can't find any solution to this either. So right now, I still have to use an old version on QGIS.

IS there any solutions to these, available at the moment?

Source Link
Toke
  • 155
  • 1
  • 10

Save as .csv with coordinates in both QGIS 2.2 and PyqGIS

These questions have been asked before, but since they are not answered I will try to pick up the ends here.

  1. First, as stated here:

QGIS 2.2 saving layer as CSV with GEOMETRY=AS_WKT not working

in Qgis 2.2 it is not possible to save a shapefile as .csv including the coordinates using the function GEOMETRY=AS_WKT. The issue

http://hub.qgis.org/issues/9597

is set to closed. Does it mean that it has been fixed? And if so, how to make it work again?

  1. Second, if you want to save a shape file as .csv with coordinates through PyQgis it can be done with:

    Writing vector layer to CSV file with geometry using PyQGIS?

as stated here:

Writing vector layer to CSV file with geometry using PyQGIS?

But again, this does not save the coordinates, and I can't find any solution to this either. So right now, I still have to use an old version on QGIS.

IS there any solutions to these, available at the moment?