[GRASS-user] Buffered categories
Richard Chirgwin
rchirgwin at ozemail.com.au
Fri Feb 24 16:05:36 EST 2012
As always, thanks to everyone for helping fix even simple errors!
Richard
On 24/02/12 7:30 PM, Hamish wrote:
> Richard wrote:
>> rather than the 47 categories I need (because there are 47
>> distinct areas in the buffer.
>>
>> So: how do I reassign the cats so there are 47 instead of 1
>> in the buffer?
> # get rid of the old
> v.category type=centroid op=del
> # create some new sequential ones
> v.category type=centroid op=add cat=1 step=1
>
> (cat= is the number it starts counting from)
>
> if you need the cat to match the seed point, use v.distance as earlier
> suggested. and do beware of what becomes of overlapping areas.
>
>
> Hamish
>
More information about the grass-user
mailing list