[GRASS5] trouble with vector layers
Moritz Lennert
mlennert at club.worldonline.be
Thu Sep 15 11:18:26 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Radim Blazek wrote:
> Can you send output from:
>
> v.category input=molenbeek option=report
GRASS 6.1.cvs (BELGIQUE):~ > v.category input=molenbeek option=report
LAYER/TABLE 1/molenbeek:
type count min max
point 0 0 0
line 0 0 0
boundary 0 0 0
centroid 46 7596 8192
area 0 0 0
all 46 7596 8192
GRASS 6.1.cvs (BELGIQUE):~ > v.category input=molenbeek
option=report layer=2
LAYER/TABLE 1/molenbeek:
type count min max
point 0 0 0
line 0 0 0
boundary 0 0 0
centroid 46 7596 8192
area 0 0 0
all 46 7596 8192
Doesn't seem to take into account layer 2...
The same goes for
GRASS 6.1.cvs (BELGIQUE):~ > v.category input=molenbeek option=print
layer=2
whereas
GRASS 6.1.cvs (BELGIQUE):~ > v.category input=molenbeek option=print
layer=1
prints out the category values.
Moritz
>
> Radim
>
> On 9/15/05, Moritz Lennert <mlennert at club.worldonline.be> wrote:
>
> 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
_______________________________________________
grass5 mailing list
grass5 at grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDKZDCrIrMbm76jD8RAp6pAJ0YqpltVG7fwJ9kiPgAX76h2g/yggCeNHjz
jNgiwYVdA0amj1iptMgsayo=
=Qh7C
-----END PGP SIGNATURE-----
More information about the grass-dev
mailing list