[GRASS-user] v.in.ascii: Cannot Close Attribute Table

Micha Silver micha at arava.co.il
Sat Mar 5 06:38:45 EST 2011


On 03/04/2011 01:11 AM, Rich Shepard wrote:
>   Almost there:
>
> GRASS 6.5.svn (Nevada-utm27):~/grassdata > v.in.ascii -b --o
> in=/home/rshepard/GIS/data/Nevada/nv_wells.txt out=water_wells 
> format=point
> fs='|' skip=1 columns='well_log varchar(8), x double precision, y double

Any rows with the well_log longer than 8 characters?

With 100,000 rows you really should consider shifting from dbf to either 
sqlite or postgresql...

> precision' x=2 y=3 z=0 cat=0
> Scanning input for column types...
> Maximum input row length: 39
> Maximum number of columns: 3
> Minimum number of columns: 3
> Column: 1 type: string length: 8
> Column: 2 type: double
> Column: 3 type: double
> Importing points...
>  100%
> Populating table...
> ERROR: Could not close attribute table. The DBMI driver did not accept 
> all
>        attributes
>
>   The source table contains three columns: the well_log ID, 
> utm_easting, and
> utm_northing. Seems to me that only the first would be an attribute 
> for the
> table. How do I determine what the problem is?
>
> Rich
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
> This mail was received via Mail-SeCure System.
>
>


-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://www.surfaces.co.il




More information about the grass-user mailing list