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

Nikos Alexandris nik at nikosalexandris.net
Fri May 17 06:33:48 PDT 2013


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
-->%---




More information about the grass-dev mailing list