[GRASS-user] Add category for each centroid
hamish_b at yahoo.com
Sun Nov 6 05:13:06 EST 2011
> I have a vector map with several polygons each
> having a centroid. All polygons have the same
> > v.db.select bb
> Now, I want to have a category for each polygon
> or each centroid. With that, I hope to be able to
> access each polygon separately. I tried
> everything I can find the in the manual, but
> apparently not the correct command....
> Any idea?
remove all cats, then re-apply new ones with v.category:
v.category option=del type=centroid
v.category option=add type=centroid cat=1 step=1
More information about the grass-user