gisexport-to-csvqgis

Why are the 'multipolygons' in my export of geometry data to CSV in QGIS incomplete?


I used the following answer to successfully export geometry data to CSV in QGIS. However, when I had a look at the data, the geometry data (multipolygons in my case) of the records were incomplete. The multipolygons stopped after x amount of characters. Is there a limit on the max length of a geometry attribute? Is it possible to change this?

I already had a look at different settings, but none seem appropriate for this issue.


Solution

  • If someone has the same issue & is searching for an answer: The problem lies in CSV. The maximum number of characters is 32,767, so if your polygon / multipolygon exceeds that, you will have this issue.