I’ve been using QGIS to do basic data display for research data. It has trashed the attribute tables on the last day.
I’m trying to recover the data with GRASS—where I want to analyze it anyway. But when I try to import a non-trashed file, I exported to a shape file from QGIS, I get an error of ‘inconsistent number of columns’.
Does anyone have any suggestion about how to fix this? I’m pretty desperate right now.
Michael
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
On Sat, Jun 13, 2015 at 3:08 PM, Michael Barton <Michael.Barton@asu.edu>
wrote:
I’ve been using QGIS to do basic data display for research data. It has
trashed the attribute tables on the last day.
I’m trying to recover the data with GRASS—where I want to analyze it
anyway. But when I try to import a non-trashed file, I exported to a shape
file from QGIS, I get an error of ‘inconsistent number of columns’.
Does anyone have any suggestion about how to fix this? I’m pretty
desperate right now.
Have you looked what's in the .dbf file? For example with LibreOffice, but
you have to specify right encoding (should be ISO8859-1). The message just
says there is at least one row with different number of columns (values).
Best,
Anna
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
On Sat, Jun 13, 2015 at 9:17 PM, Anna Petrášová <kratochanna@gmail.com>
wrote:
On Sat, Jun 13, 2015 at 3:08 PM, Michael Barton <Michael.Barton@asu.edu>
wrote:
I’ve been using QGIS to do basic data display for research data. It has
trashed the attribute tables on the last day.
I’m trying to recover the data with GRASS—where I want to analyze it
anyway. But when I try to import a non-trashed file, I exported to a shape
file from QGIS, I get an error of ‘inconsistent number of columns’.
Does anyone have any suggestion about how to fix this? I’m pretty
desperate right now.
Have you looked what's in the .dbf file? For example with LibreOffice,
but you have to specify right encoding (should be ISO8859-1). The message
just says there is at least one row with different number of columns
(values).
I have had similar problems. Some rows were detected to have different
number of columns, which as I remember well was cause by some strange
characters or carriage return in those rows.
Best,
Anna
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University