[GRASS-dev] In G7, v.category with option=transfer layer=1, 2 doesn't seem to be effective

Martin Landa landa.martin at gmail.com
Fri May 17 06:40:51 PDT 2013


Hi,

2013/5/17 Nikos Alexandris <nik at nikosalexandris.net>:
> In G7
>
> # transfer cats to new layers, as the manual describes [1]
> v.category polygons option=transfer layer=1,2 out=polygons_tmp

`v.category` just transfer categories, the module do not reconnect
attribute tables.

Check `v.category opt=report`.

> # checking
> v.db.select polygons_tmp
> cat|id|cat_
> 1|1|
>
> v.db.select polygons_tmp layer=2
> cat

You need to connect attribute table using `v.db.connect` to the layer '2'.

Martin


More information about the grass-dev mailing list