[GRASS-user] Converting raster to point-vector- Question

Hi there

I have a few training areas, in raster format, that I have used for Clasification (i.maxlik). Thuis means that pixels have information like this:
633376.703089|222904.095941||9|Category 9
or
642250.637155|224541.035235||10|Category 10

I i convert using this expression:
r.to.vect input=lsa7_training00@landsat output=points00 feature=point
but with this method my cat number corresponds to an Id instead of category. What I need is to have cat = to value category. How can I change ths?

Thanks

Jenny

Jenny Turner wrote:

Hi there
I have a few training areas, in raster format, that I have used for
Clasification (i.maxlik). Thuis means that pixels have information like
this:
633376.703089|222904.095941||9|Category 9
or
642250.637155|224541.035235||10|Category 10
I i convert using this expression:
r.to.vect input=lsa7_training00@landsat output=points00 feature=point

but with this method my cat number corresponds to an Id instead of category.
What I need is to have cat = to value category. How can I change ths?

I guess what you need is " Use raster values as categories instead of
unique sequence (CELL only)":
r.to.vect -v

Markus M