In G7

# transfer cats to new layers, as the manual describes [1]
v.category polygons option=transfer layer=1,2 out=polygons_tmp

# checking
v.db.select polygons_tmp
cat|id|cat_
1|1|

v.db.select polygons_tmp layer=2
cat

Shouldn't that work out-of-the box?

N

ps- Related: 
<http://gis.stackexchange.com/questions/17076/how-to-make-the-layer-2-use-the-same-vector-categories-from-layer-1>

---
[1] <http://grass.fbk.eu/manuals/html70_user/v.category.html>

--%<---
Copy categories from layer 1 to layer 2,3,4,5,6,7 and 8
Existing layer will be overwritten, non-existing will be created.

v.category input=observer output=observer_new option=transfer 
layer=1,2,3,4,5,6,7,8
-->%---


_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to