[GRASSLIST:5040] Re: db.login

Radim Blazek blazek at itc.it
Fri Dec 3 06:01:18 EST 2004


Leonardo Lami wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> After the new command db.login and the remotion of v.database I have some 
> problem with the relocation of the table when I import vectors (like shapes) 
> in GRASS.
> 
> Grass put the table in the database setted in the options GV_* of file VAR 
> placed in the working mapset.
> 
> I see that the command db.connect change the DB_* options but not the GV_* 
> options.
> 
> How can I change the GV_* options and what about the function of the DB_* 
> options?
> 
> Thanks of all
> Leonardo

GV_* are not used, vector tables are stored in database defined by DB_* 
(db.connect).

> About overwrite protection I think that it is very important to have a flag
>  to avoid delete the tables linked to a vector when I delete the vector. What
>  do you think about it?

Almost impossible to add this flag to all modules. Why do you need that?
Cannot you db.copy the table?

Radim




More information about the grass-user mailing list