Bug report #10983

CSV export WKT fails with complex geometries

Added by James McMahon over 8 years ago. Updated over 8 years ago.

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:Yes Copied to github as #:19326


When exporting a Vector layer as CSV and choosing to export the geometries as WKT, the application silently truncates any geometry whose text would exceed 8000 characters. This includes the removal of the closing " and happens whether the WKT is long because there are many points or because a multipolygon contains many polygons etc. It is the character limit that is observered. Using 2.4.0 on Windows 7


#1 Updated by Giovanni Manghi over 8 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Closed

just tested and I can confirm it, but the issue seems to be in gdal/ogr (used by qgis) as from the ogr2ogr command line the result is the same


Please file a ticket on the gdal/ogr bug tracker.

Also available in: Atom PDF