Hi, 2009/7/11 Tomas Zigo <[email protected]>: > 1) v.digit -n map=Skuska1
note that you can create a new vector map also using v.edit or v.in.ascii, e.g. v.edit map=Skuska1 tool=create > 2) v.db.addtable map=Skuska1 table=Skuska1 > > Using user specified table name: Skuska1 > Creating new DB connection based on default mapset settings... > Creating table with columns (cat integer) > The table <Skuska1> is now part of vector map <Skuska1> and may be deleted > or overwritten by GRASS modules > Select privileges were granted on the table > Reading features... > Updating database... > 100% > 0 records updated/inserted (layer 1) > Current attribute table links: > Vector map <skus...@polana_a_okolie_1k10000_5m> is connected by: > layer <1> table <Skuska1> in database > </home/tomas/Grass_data/Polana_bakalarska_praca/Polana_a_okolie_1k10000_5m/dbf/> > through driver <dbf> with key <cat> > >> db.tables -p > Skuska1 > > 3) v.db.connect map=Skuska1 table=Skuska1 -o This is not needed, v.db.addtable connects newly created table to the vector map. > 4) v.db.addcol map=skus...@polana_a_okolie_1k10000_5m columns="NADM_VYSKA > double > precision" > ERROR: There is no table connected to this map! Run v.db.connect or > v.db.addtable first. Assuming, that 'Polana_a_okolie_1k10000_5m' is your current mapset. It works for me (6.4.0svn, GNU/Linux). Your OS? Martin -- Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
