[GRASS5] trouble with vector layers

Moritz Lennert mlennert at club.worldonline.be
Thu Sep 15 04:47:22 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Don't know if this is a bug or if I just don't understand the use of
layers:

GRASS 6.1.cvs (BELGIQUE):~ > v.db.connect -p molenbeek
Vector map <molenbeek> is connected by:
layer <1> table <molenbeek> in database <grass> through driver <pg>
with key <cat>
layer <2> table <molpoptot> in database <grass> through driver <pg>
with key <cat>

the cat column is identical in the two tables. However:

GRASS 6.1.cvs (BELGIQUE):~ > d.vect molenbeek where='cat>8000'

displays the right areas, but

GRASS 6.1.cvs (BELGIQUE):~ > d.vect molenbeek layer=2 where='cat>8000'

does not display anything. At the same time

v.db.select molenbeek layer=2 where='cat>8000'

correctly lists the corresponding lines in the table molpoptot.

Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDKTUarIrMbm76jD8RAucEAJ9LTNlJWobyEg98Kc2xl0wZlWkbTACdG483
v0POBQi73maZ713WpBlB16s=
=FVva
-----END PGP SIGNATURE-----




More information about the grass-dev mailing list