[GRASS-user] can the grass calculate the area of different color
for a image(tiff or other?)
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
>> This mail was received via Mail-SeCure System.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user