Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
The report itself consists of two parts, a header section and the main body of the report.
The header section of the report identifies the raster map(s) (by map name and title), location, mapset, report date, and the region of interest. The area of interest is described in two parts: the user's current geographic region is presented, and the mask is presented (if any is used).
The main body of the report consists of from one to three tables which present the statistics for each category and the totals for each unit column. Note that the statistics is always computed in the current geographical region.
When multiple (typically two) raster maps are specified, cross-tabulation table for each combination of categories in the raster maps will be computed and formatted in a human-readable way (see example).
r.report -n map=geology_30m units=mi,a sort=desc
+-----------------------------------------------------------------------------+ | RASTER MAP CATEGORY REPORT | |LOCATION: nc_spm_08_grass7 Fri Dec 6 17:00:21 2013| |-----------------------------------------------------------------------------| | north: 279073.97546639 east: 798143.31179672 | |REGION south: 113673.97546639 west: 595143.31179672 | | res: 200 res: 200 | |-----------------------------------------------------------------------------| |MASK: none | |-----------------------------------------------------------------------------| |MAP: South-West Wake county: geology derived from vector map (geology_30m in | |-----------------------------------------------------------------------------| | Category Information | square| | | #|description | miles| acres| |-----------------------------------------------------------------------------| |217|CZfg . . . . . . . . . . . . . . . . . . . . . . . | 27.783911|17,781.703| |270|CZig . . . . . . . . . . . . . . . . . . . . . . . | 26.162282|16,743.861| |405|CZbg . . . . . . . . . . . . . . . . . . . . . . . | 9.698886| 6207.287| |262|CZlg . . . . . . . . . . . . . . . . . . . . . . . | 7.629379| 4882.802| |862|CZam . . . . . . . . . . . . . . . . . . . . . . . | 2.532830| 1621.011| |910|CZbg . . . . . . . . . . . . . . . . . . . . . . . | 1.683405| 1077.379| |583|CZve . . . . . . . . . . . . . . . . . . . . . . . | 0.972977| 622.706| |921|Km . . . . . . . . . . . . . . . . . . . . . . . . | 0.463323| 296.526| |766|CZg. . . . . . . . . . . . . . . . . . . . . . . . | 0.324326| 207.569| |720|CZam . . . . . . . . . . . . . . . . . . . . . . . | 0.185329| 118.611| |946|CZam . . . . . . . . . . . . . . . . . . . . . . . | 0.138997| 88.958| |948|CZam . . . . . . . . . . . . . . . . . . . . . . . | 0.030888| 19.768| |-----------------------------------------------------------------------------| |TOTAL | 77.606534|49,668.182| +-----------------------------------------------------------------------------+
r.report map=zipcodes@PERMANENT,landclass96@PERMANENT units=h,p
+-----------------------------------------------------------------------------+ | RASTER MAP CATEGORY REPORT | |LOCATION: nc_spm_08_latest Tue Feb 11 10:10:46 2014| |-----------------------------------------------------------------------------| | north: 228527.25 east: 644971 | |REGION south: 215018.25 west: 629980 | | res: 28.5 res: 28.5 | |-----------------------------------------------------------------------------| |MASK: none | |-----------------------------------------------------------------------------| |MAPS: South West Wake: Zipcode areas derived from vector map (zipcodes@PERMAN| | South-West Wake county: Simplified landuse classes (landclass96@PERMA| |-----------------------------------------------------------------------------| | Category Information | | % | | #|description | hectares| cover| |-----------------------------------------------------------------------------| |27511|CARY | 1053.813| 5.20| | |-----------------------------------------------------|----------|------| | |1|developed. . . . . . . . . . . . . . . . . . . . . | 197.214| 18.71| | |3|herbaceous . . . . . . . . . . . . . . . . . . . . | 25.017| 2.37| | |4|shrubland. . . . . . . . . . . . . . . . . . . . . | 58.563| 5.56| | |5|forest . . . . . . . . . . . . . . . . . . . . . . | 771.313| 73.19| | |6|water. . . . . . . . . . . . . . . . . . . . . . . | 1.625| 0.15| | |*|no data. . . . . . . . . . . . . . . . . . . . . . | 0.081| 0.01| |-----------------------------------------------------------|----------|------| |27513|CARY | 204.525| 1.01| | |-----------------------------------------------------|----------|------| | |1|developed. . . . . . . . . . . . . . . . . . . . . | 32.571| 15.93| | |3|herbaceous . . . . . . . . . . . . . . . . . . . . | 6.011| 2.94| | |4|shrubland. . . . . . . . . . . . . . . . . . . . . | 51.659| 25.26| | |5|forest . . . . . . . . . . . . . . . . . . . . . . | 114.284| 55.88| |-----------------------------------------------------------|----------|------| ... |-----------------------------------------------------------------------------| |TOTAL |22,968.900|100.00| +-----------------------------------------------------------------------------+
Available at: r.report source code (history)
Latest change: Thursday Feb 03 11:10:06 2022 in commit: 547ff44e6aecfb4c9cbf6a4717fc14e521bec0be
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 8.2.2dev Reference Manual