[GRASS-user] [GRASS-dev] Problems in adding tables to a map

Moritz Lennert mlennert at club.worldonline.be
Wed Nov 21 06:09:06 PST 2012


On 21/11/12 13:02, Martin Landa wrote:
> Hi,
>
> 2012/11/17 Aldo Clerici<aldo.clerici at unipr.it>:
>> v.db.connect map=roads1 table=roads2 layer=2
>
> it's not enough. You need to defined also categories for layer '2',
> see `v.category` for details. This module allows to change layer
> number, but unfortunately not to copy categories from one layer to
> another.
>
> Motion:
>
> v.category input=roads1 output=roads2 option=cpylayer layer=1,2
>
> to copy categories from layer 1 to layer 2 would make sense? It would
> require to add new option `cpylayer` similarly to `chlayer`.

Already exists in grass7: option=transfer

Moritz


More information about the grass-user mailing list