<!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):~ > v.db.connect -p map=koord_grass2<BR>
ERROR: Database connection for map <koord_grass2> 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):~ > v.db.connect map=koord_grass2 table=GIS_Darstellung.dbf key=SECTION_ID layer=6 -o<BR>
WARNUNG: Die Tabelle <GIS_Darstellung.dbf> existiert nicht in der Datenbank<BR>
<$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/>.<BR>
WARNUNG: The table <GIS_Darstellung.dbf> is now part of vector map<BR>
<koord_grass2> and may be deleted or overwritten by GRASS modules<BR>
WARNUNG: Select privileges were granted on the table<BR>
GRASS 6.2.1 (luenenxy):~ > v.db.connect map=koord_grass2 table=GIS_Darstellung.dbf key=SECTION_ID layer=9 -o<BR>
WARNUNG: Die Tabelle <GIS_Darstellung.dbf> existiert nicht in der Datenbank<BR>
<$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/>.<BR>
WARNUNG: The table <GIS_Darstellung.dbf> is now part of vector map<BR>
<koord_grass2> 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 <GIS_Darstellung.dbf> existiert nicht in der Datenbank (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 & P CONSULT GMBH
Technologiequartier
Konrad-Zuse-Str. 6
D-44801 Bochum, Germany
Geschäftsführer: Dipl.-Ing. Robert Stein
Registergericht: Amtsgericht Bochum HRB 10769
Phone: +49(0) 234 51 67 193
Fax: +49(0) 234 51 67 109
Email: <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>