123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <h2>DESCRIPTION</h2>
- <em>r.report</em> allows the user to set up a series of report
- parameters to be applied to a raster map, and creates a report. The
- report will print out to the standard output if <b>output</b>
- parameter is not given.
- <p>
- The report itself consists of two parts, a header section and the main
- body of the report.
- <p>
- 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).
- <p>
- 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.
- <h2>NOTES</h2>
- <!--
- If the user runs <em>r.report</em> interactively and saves the report output
- in a file, this file will be placed into the user's current working
- directory.
- If the user runs <em>r.report</em> non-interactively, report output can be
- saved by redirecting it to a file or a printer using the UNIX redirection
- mechanism.
- -->
- Note that, unlike <em><a href="r.stats.html">r.stats</a></em>,
- <em>r.report</em> allows the user to select the specific units of
- measure in which statistics will be reported. To output
- computer-friendly data suitable for importing into a spreadsheet use
- the <em><a href="r.stats.html">r.stats</a></em> module. In
- fact <em>r.report</em> is running
- <em><a href="r.stats.html">r.stats</a></em> in the background and
- reformatting the results to be more human-friendly.
- <h2>EXAMPLE</h2>
- Report sorted areas in square miles and acres for each
- category. No-data are not reported (see <b>-n</b> flag).
- <div class="code"><pre>
- 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|
- +-----------------------------------------------------------------------------+
- </div>
- <h2>SEE ALSO</h2>
- <em>
- <a href="r.stats.html">r.stats</a>,
- <a href="g.region.html">g.region</a>,
- <a href="r.coin.html">r.coin</a>,
- <a href="r.describe.html">r.describe</a>,
- <a href="r.info.html">r.info</a>,
- <a href="r.univar.html">r.univar</a>
- </em>
- <h2>AUTHORS</h2>
- Michael Shapiro, U.S. Army Construction Engineering Research Laboratory<br>
- Sort option by Martin Landa, Czech Technical University in Prague, 2013
- <p>
- <i>Last changed: $Date$</i>
|