[GRASS-user] Problems with v.to.db after breaking with v.edit

Daniel Torres nobeeakon at gmail.com
Thu Aug 11 20:38:52 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160811/be2e5b10/attachment.html>


More information about the grass-user mailing list