Does this helps you?
v.category input=map_of_vedit output=map2 option=add layer=2
v.db.addtable map=map2 layer=2 table=table2

In that way you preserve original information in layer1, and new categories
in layer2

Hopefully that will be useful. Maybe someone has a better idea.

Daniel





>Dear list

>I break a number of features in a vector map into two pieces using
>v.edit, tool=break and specific coordinates. This results in two parts
>with identical attributes after breaking (which is what I want) but also
>the cat is identical.
>I think, this is the reason why I get exactly the same length for the
>two parts when calculating it using v.to.db, tool=length. Likewise, the
>end coordinates cannot be computed as there is more than one element for
>some categories.

>How can I update the category to unique values for each feature?

>Thanks for any suggestions,
>Mira
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to