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

Martin Landa landa.martin at gmail.com
Wed Nov 21 04:02:38 PST 2012


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`.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-user mailing list