[GRASS-user] areas

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Fri Apr 11 09:09:44 EDT 2008


On Sat, 2008-04-12 at 08:12 +0000, Isabel Alfaro Cardozo wrote:
> hi, I was wondering if it is posible to measure areas and distances
> inside GRASS, and save the values in a table. 
> 
> wich commands do I have to use?
> thank you
> 
> Isabel

2 more examples for categorised raster maps (in this case I have a
fragment of the GLC2000 land cover map):


r.report -nh glc2000_areas units=h

+-----------------------------------------------------------------------------+
| Category Information | | 
| #|description | hectares| 
|-----------------------------------------------------------------------------|
| 2|Tree Cover, broadleaved, deciduous, closed . . . . . . . . . . |
1300.00| 
| 4|Tree Cover, needle-leaved, evergreen . . . . . . . . . . . . . |
46,000.00| 
| 6|Tree Cover, mixed leaf type. . . . . . . . . . . . . . . . . . |
16,500.00| 
|11|Shrub Cover, closed-open, evergreen. . . . . . . . . . . . . . |
85,900.00|
|12|Shrub Cover, closed-open, deciduous. . . . . . . . . . . . . . |
600.00|
|16|Cultivated and managed areas . . . . . . . . . . . . . . . . . |
16,100.00| 
|-----------------------------------------------------------------------------|
|TOTAL |166,400.00| 
+-----------------------------------------------------------------------------+

-

r.stats -an glc2000_areas

r.stats: 100% 
2 13000000.000000 
4 460000000.000000 
6 165000000.000000 
11 859000000.000000 
12 6000000.000000 
16 161000000.000000





More information about the grass-user mailing list