[GRASS-user] Add category for each centroid
    Hamish 
    hamish_b at yahoo.com
       
    Sun Nov  6 05:13:06 EST 2011
    
    
  
Sebastian wrote:
> I have a vector map with several polygons each
> having a centroid. All polygons have the same
> category:
> 
> > v.db.select bb
> cat|ART
> 1|1
> 
> 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
Hamish
    
    
More information about the grass-user
mailing list