Is it possible to use QGIS to convert a vector that contains points/polygons into a csv file and, if yes, in which way?

  • Questions in GIS SE are expected to have only one question. Please edit to focus on your most pressing question; the other can be asked in another question. – Vince Apr 22 '16 at 15:01
  • csv files are usually a means for data exchange between softwares and definitely not recommended for what what you are asking for. – nickves Apr 22 '16 at 15:06

The MMQGIS plugin is able to export vector data to a CSV file.

I usually use semicolon as CSV delimiter. In the delimited text import dialogue, make sure that no other separator is checked.

BTW the MMQGIS plugin can import and export from/to CSV.

| improve this answer | |
  • Thank you!!! It worked with MMQGIS plugin and it's function to export geometry into a csv file:) – Stefano Citterio Apr 23 '16 at 8:50

You can use the Save As... option by right-clicking the layer and select the format to CSV.

You can also decide to keep geometries of your features by setting the Layer Options (e.g. you can use AS_XY to keep the X and Y coordinates for, say, a point layer).

| improve this answer | |
  • Thanks, just tryed.. The problem is that mmqgis gives me this error "Bad CSV file - verify that your delimiters are consistent" when trying to add the csv file, I need that plugin to join a layer and a csv by attribute – Stefano Citterio Apr 22 '16 at 15:09
  • 1
    If the geometries are exported using Well-Known Text, linestring and polygon types will contain commas -- try delimiting with | instead. – Vince Apr 22 '16 at 15:39
  • I get the same error even with I – Stefano Citterio Apr 22 '16 at 15:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.