[GRASSLIST:9970] Re: Problem using v.to.db - option cat

René Capell rene.ca at web.de
Tue Jan 24 11:45:58 EST 2006


Hi Wolfgang,

actually I am a little bit confused, because i thought categories MUST 
be unique (I=beginner), but if I understood your problem right, 
v.category should do it:

v.category in=stream option=del
v.category in=stream option=add step=1

Greets, Rene

>Hi list,
>I tried to assign unique cat-values to a vector (copy of streams at PERMANENT,
>spearfish dataset)file using v.to.db. I expected each row to get a unique
>cat-value (1,2,3 ...), but received a different result: in total I have
>three different values for cat (1,2 and 3 like 1,1,1,2,2,2,2,2,3,3,2,2,2,1).
>How can I assign unique cat-values?
>
>Greetings,
>
>Wolfgang
>
>
>  
>




More information about the grass-user mailing list