<div>Thanks for the help Markus, but when I try it on my computer I still get the same error message:</div><div>-----------------------------</div><div>GRASS 6.4.0RC5 (latlong_coral):~/grassdata/latlong_coral > v.in.ascii input=kyy.csv out=kyy skip=1 fs=, cat=3</div>
<div>Scanning input for column types...</div><div>Maximum input row length: 86</div><div>Maximum number of columns: 9</div><div>Minimum number of columns: 8</div><div>DBMI-DBF driver error:</div><div>Cannot create dbf database: ~/grassdata/latlong_coral/PERMANENT/dbf/</div>
<div><br></div><div><br></div><div>WARNING: Unable to open database <~/grassdata/latlong_coral/PERMANENT/dbf/></div><div> by driver <dbf></div><div>ERROR: Unable to open database <~/grassdata/latlong_coral/PERMANENT/dbf/></div>
<div> by driver <dbf></div><div>-----------------------------</div><div>I'm a complete newbie to the db part of GRASS; was I supposed to do anything special during the installation to allow the dbf driver to work? </div>
<div><br></div><div>I've tried this on two separate machines and have the same error message in both, one is running GRASS 6.4.0RC5 on Ubuntu 9.10 the other is running GRASS 6.4.0 on Ubuntu 10.04 in a vm.</div><div><br>
</div><div>Sorry to bother the list again!</div><div>Nick</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 12:13 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Thu, Mar 10, 2011 at 3:45 PM, Nick Jachowski <<a href="mailto:njachowski@gmail.com">njachowski@gmail.com</a>> wrote:<br>
> Hi all,<br>
> I'm trying to use v.in.ascii and I'm getting a "DBMI-DBF driver error."<br>
> -------------------<br>
> GRASS 6.4.0RC5 (latlong_coral):~/grassdata/latlong_coral > v.in.ascii<br>
> input=kyy.csv out=kyy skip=1 fs=, columns='x, y, cat int' cat=3<br>
</div> ^^^^^^^^^^^^^^^<br>
<br>
... this cannot work since you did not specify the types for x and y.<br>
<br>
Doing so, I get:<br>
<br>
v.in.ascii input=kyy.csv out=kyy skip=1 fs=, columns='x double<br>
precision, y double precision, cat int' cat=3<br>
<div class="im">Scanning input for column types...<br>
Maximum input row length: 86<br>
Maximum number of columns: 9<br>
Minimum number of columns: 8<br>
</div>Column: 1 type: double<br>
Column: 2 type: double<br>
Column: 3 type: integer<br>
Column: 4 type: string length: 3<br>
Column: 5 type: string length: 3<br>
Column: 6 type: double<br>
Column: 7 type: double<br>
Column: 8 type: double<br>
Column: 9 type: double<br>
WARNING: Table <kyy> linked to vector map <kyy> does not exist<br>
ERROR: Number of columns defined (3) does not match number of columns (9)<br>
in input<br>
<br>
Of course all the other columns need to be defined as well.<br>
Or just use the auto-detector:<br>
<br>
v.in.ascii input=kyy.csv out=kyy skip=1 fs=, cat=3<br>
<div class="im">Scanning input for column types...<br>
Maximum input row length: 86<br>
Maximum number of columns: 9<br>
Minimum number of columns: 8<br>
</div>Column: 1 type: double<br>
Column: 2 type: double<br>
Column: 3 type: integer<br>
Column: 4 type: string length: 3<br>
Column: 5 type: string length: 3<br>
Column: 6 type: double<br>
Column: 7 type: double<br>
Column: 8 type: double<br>
Column: 9 type: double<br>
Importing points...<br>
100%<br>
Populating table...<br>
Building topology for vector map <kyy>...<br>
Registering primitives...<br>
23 primitives registered<br>
23 vertices registered<br>
Building areas...<br>
100%<br>
0 areas built<br>
0 isles built<br>
Attaching islands...<br>
Attaching centroids...<br>
100%<br>
Number of nodes: 23<br>
Number of primitives: 23<br>
Number of points: 23<br>
Number of lines: 0<br>
Number of boundaries: 0<br>
Number of centroids: 0<br>
Number of areas: 0<br>
Number of isles: 0<br>
v.in.ascii complete.<br>
<br>
...<br>
<div class="im">> It seems a lot of people get this error (according to google...), but I<br>
> haven't seen a solution.<br>
<br>
</div>I doubt this statement :)<br>
<br>
Hope this helps,<br>
<font color="#888888">Markus<br>
</font></blockquote></div><br>