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

maven apache apachemaven0 at gmail.com
Wed Jun 17 09:04:54 EDT 2009


>
>  And if you want to improve the output, then two steps:
>> First use r.category to give a label to each category like so:
>> (assuming the first is black)
>>
> This is what I am not sure, I only get the number respent the category,but
I am not sure what it stand for,for example the number in first
line:9321,does it stand for red? or blue?

>
>> echo "0:Black" | r.category outss rules=-
>> (note the '-' which means "read from stdin")
>> Next use r.report like so:
>> r.report outss unit=k
>> (gives a table with the cat value, the label and area in sqkm)
>>
>
>
> _______________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>
>> This mail was received via Mail-SeCure System.
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090617/48ef4610/attachment-0001.html


More information about the grass-user mailing list