|
@@ -1,44 +1,47 @@
|
|
|
<h2>DESCRIPTION</h2>
|
|
|
|
|
|
-
|
|
|
<em>r.info</em> reports some basic information about a
|
|
|
user-specified raster map layer. This map layer must exist
|
|
|
in the user's current mapset search path. Information
|
|
|
about the map's boundaries, resolution, projection, data
|
|
|
type, category number, data base location and mapset,
|
|
|
-the timestamp and
|
|
|
-history are put into a table and written to standard
|
|
|
-output. The types of information listed can also be found
|
|
|
-in the <em>cats</em>, <em>cellhd</em>, and <em>hist</em>
|
|
|
+the timestamp and history are put into a table and written to standard
|
|
|
+output. The types of information listed can also be found
|
|
|
+in the <i>cats</i>, <i>cellhd</i>, and <i>hist</i>
|
|
|
directories under the mapset in which the named map is
|
|
|
stored.
|
|
|
|
|
|
<p>
|
|
|
+
|
|
|
The user can save the tabular output to a file
|
|
|
by using the UNIX redirection mechanism (>); for example, the user
|
|
|
might save a report on the <em>soils</em> map layer in a file called
|
|
|
<em>soil.rpt</em> by typing:
|
|
|
-<dl>
|
|
|
-<dd>
|
|
|
-<b>r.info map=</b><em>soils</em> > <em>soil.rpt</em>
|
|
|
-</dl>
|
|
|
|
|
|
-<p>
|
|
|
-<h2>ACCURACY</h2>
|
|
|
+<div class="code"><pre>
|
|
|
+r.info map=soils > soil.rpt
|
|
|
+</pre></div>
|
|
|
+
|
|
|
+<h2>NOTES</h2>
|
|
|
|
|
|
On large maps, the total number of cells in the map may not be displayed
|
|
|
with an accurate number. This is only cosmetic.
|
|
|
+
|
|
|
<p>
|
|
|
+
|
|
|
Some standards (ISO-C90) and compilers do not support the 'long long' type
|
|
|
as a 64-bit type. In the case that GRASS was built with such a compiler,
|
|
|
an accuracy message may be displayed in the output of <em>r.info</em>
|
|
|
-after Total Cells:.
|
|
|
+after Total Cells:
|
|
|
+
|
|
|
<p>
|
|
|
|
|
|
-Below is the report produced by <em>r.info</em> for the raster map
|
|
|
-<em>slope</em> in the Spearfish sample data base.
|
|
|
+<h2>EXAMPLES</h2>
|
|
|
+
|
|
|
+Below is a full report produced by <em>r.info</em> for the raster map
|
|
|
+<i>slope</i> in the Spearfish sample data base:
|
|
|
|
|
|
-<pre>
|
|
|
+<div class="code"><pre>
|
|
|
+----------------------------------------------------------------------------+
|
|
|
| Layer: slope Date: Mon Nov 5 10:55:57 2001 |
|
|
|
| Mapset: PERMANENT Login of Creator: neteler |
|
|
@@ -71,7 +74,25 @@ Below is the report produced by <em>r.info</em> for the raster map
|
|
|
| min_slp_allowed = 0.000000 |
|
|
|
| |
|
|
|
+----------------------------------------------------------------------------+
|
|
|
-</pre>
|
|
|
+</pre></div>
|
|
|
+
|
|
|
+Alternatively, the output from <em>r.info</em> may be confined to a more terse
|
|
|
+subset of the available information by passing various flags to the module:
|
|
|
+
|
|
|
+<div class="code"><pre>
|
|
|
+r.info -rst slope
|
|
|
+min=0.000000
|
|
|
+max=52.520164
|
|
|
+nsres=30
|
|
|
+ewres=30
|
|
|
+datatype=FCELL
|
|
|
+
|
|
|
+r.info -g slope
|
|
|
+north=4928030
|
|
|
+south=4913690
|
|
|
+east=609000
|
|
|
+west=589980
|
|
|
+</pre></div>
|
|
|
|
|
|
<h2>SEE ALSO</h2>
|
|
|
|