[GRASSLIST:5061] Re: db.login
Markus Neteler
neteler at itc.it
Mon Dec 6 12:47:40 EST 2004
On Fri, Dec 03, 2004 at 10:40:41AM +0100, 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?
AFAIK this was simplified recently:
2004-11-25 16:43 radim
* Vlib/field.c: GV_ -> DB_
http://grass.itc.it/pipermail/grass-commit/2004-November/015859.html
As far as I understand the change, the GV_ stuff no longer exists as
DB connections are maintained now only by db.* tools (as v.database was
removed to simplify user's life).
So the VAR file should only contain DB_ lines (maybe a simple search/replace
helps).
Markus
>
> 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?
> Bye
> Leonardo
>
> - - -- Personally I like overwrite protection & to have to specifically use
>
> > > > the -o flag.
> > >
> > > For vectors you can use
> > > g.gisenv set=OVERWRITE=0
> > >
> > > Radim
>
> Leonardo Lami
> lami at faunalia.it www.faunalia.it
> Via Colombo 3 - 51010 Massa e Cozzile (PT), Italy Tel: (+39)349-1310164
> GPG key @: hkp://wwwkeys.pgp.net http://www.pgp.net/wwwkeys.html
> https://www.biglumber.com
> - -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFBruu+92hCyP73w7ARAlugAJ9LUJ5LL3zxvokwq743lHvIIx+k4ACfaRfI
> q5qJVvaDvhura0QS0CWwviY=
> =kxoh
> - -----END PGP SIGNATURE-----
>
> - -------------------------------------------------------
>
> - --
> Leonardo Lami
> lami at faunalia.it www.faunalia.it
> Via Colombo 3 - 51010 Massa e Cozzile (PT), Italy Tel: (+39)349-1310164
> GPG key @: hkp://wwwkeys.pgp.net http://www.pgp.net/wwwkeys.html
> https://www.biglumber.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFBsDSg92hCyP73w7ARAv2DAKCTCZ/CIc5uf0hXDf8X9XPsvWGzlQCgmquX
> yiRbZuaLhRCl1kF6v7M4H94=
> =xqpC
> -----END PGP SIGNATURE-----
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-user
mailing list