[GRASS-user] Re: Problem with wxGUI.Nviz extension and wxGUI.Vector_Digitizing_Tool

Martin Landa landa.martin at gmail.com
Sat Jul 11 07:26:06 EDT 2009


Hi,

2009/7/11 Tomas Zigo <tomas.zigo at slovanet.sk>:
> 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 <Skuska1 at 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=Skuska1 at 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


More information about the grass-user mailing list