<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.2">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I tooked a look into the manual for the command v.db.connect. But I'm not sure how it really works. I had imported this file:<BR>
<BR>
#'X_COORDINATE Y_COORDINATE'<BR>
L 2 2<BR>
3400630.04 5718486.603<BR>
3400639.238 5718515.776<BR>
6 1<BR>
9 1<BR>
L 2 2<BR>
3400639.238 5718515.776<BR>
3400648.641 5718546.057<BR>
6 182<BR>
9 182<BR>
L 2 2<BR>
3400648.641 5718546.057<BR>
3400665.041 5718562.99<BR>
6 181<BR>
9 181<BR>
into the vector koord_grass2<BR>
<BR>
I check that there is no connection<BR>
GRASS 6.2.1 (luenenxy):~ &gt; v.db.connect -p map=koord_grass2<BR>
ERROR: Database connection for map &lt;koord_grass2&gt; is not defined in the DB-file<BR>
<BR>
Then I connect the vector to a table using layers 6 and 9<BR>
GRASS 6.2.1 (luenenxy):~ &gt; v.db.connect map=koord_grass2 table=GIS_Darstellung.dbf key=SECTION_ID layer=6 -o<BR>
WARNUNG: Die Tabelle &lt;GIS_Darstellung.dbf&gt; existiert nicht in der Datenbank<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/&gt;.<BR>
WARNUNG: The table &lt;GIS_Darstellung.dbf&gt; is now part of vector map<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;koord_grass2&gt; and may be deleted or overwritten by GRASS modules<BR>
WARNUNG: Select privileges were granted on the table<BR>
GRASS 6.2.1 (luenenxy):~ &gt; v.db.connect map=koord_grass2 table=GIS_Darstellung.dbf key=SECTION_ID layer=9 -o<BR>
WARNUNG: Die Tabelle &lt;GIS_Darstellung.dbf&gt; existiert nicht in der Datenbank<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/&gt;.<BR>
WARNUNG: The table &lt;GIS_Darstellung.dbf&gt; is now part of vector map<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;koord_grass2&gt; and may be deleted or overwritten by GRASS modules<BR>
WARNUNG: Select privileges were granted on the table<BR>
<BR>
And receive these warnings??<BR>
Why this WARNING: Die Tabelle &lt;GIS_Darstellung.dbf&gt; existiert nicht in der Datenbank&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (that means that the table is not in the DB). Actually the file is there. How should I write the path rightly?<BR>
<BR>
Does anybody know better tutorials on the web?<BR>
<BR>
Thanks<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Jorge Echeverri, BSc Civ. Eng.
S &amp; P CONSULT GMBH
Technologiequartier
Konrad-Zuse-Str. 6
D-44801 Bochum, Germany
Gesch&#228;ftsf&#252;hrer: Dipl.-Ing. Robert Stein
Registergericht: Amtsgericht Bochum HRB 10769


Phone:&nbsp;&nbsp;&nbsp; +49(0) 234 51 67 193
Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +49(0) 234 51 67 109

Email:&nbsp;&nbsp;&nbsp; <A HREF="mailto:jorge.echeverri@stein.de">jorge.echeverri@stein.de</A>
Internet: <A HREF="http://www.stein.de">www.stein.de</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>