[GRASS-user] can the grass calculate the area of different color for a image(tiff or other?)

Moritz Lennert mlennert at club.worldonline.be
Thu Jun 18 08:49:32 EDT 2009


On 18/06/09 14:31, maven apache wrote:
>         Also I found that I can see only five color from the tiff
>         swi.tiff, and yesterday I get five category with the same
>         steps(import and composite then calculate ), they are
>         "0
>         9321 26425 31744 32736   ";, but today it change to six!!
> 
> Maybe I  remembered it wrongly. (*^__^*)
> 
> 
>         And acturlly I want to extract each color and export them to a
>         vector map, I am looking the proper commond.
> 
> It seems that there is no corresponding command to  achieve this goal£¿


Please start by reading:

http://grass.osgeo.org/grass64/manuals/html64_user/rasterintro.html
http://grass.osgeo.org/grass64/manuals/html64_user/vectorintro.html

The command you are looking for is r.to.vect (I see it is not mentioned
in the rasterintro. Should be...).

Moritz


More information about the grass-user mailing list