Преглед на файлове

HTML tag cleaning, minor reformats, examples expanded

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@31446 15284696-431f-4ddb-bdfa-cd5b030d7da7
Eric Patton преди 17 години
родител
ревизия
6dddb115f4
променени са 1 файла, в които са добавени 37 реда и са изтрити 16 реда
  1. 37 16
      raster/r.info/description.html

+ 37 - 16
raster/r.info/description.html

@@ -1,44 +1,47 @@
 <h2>DESCRIPTION</h2>
 <h2>DESCRIPTION</h2>
 
 
-
 <em>r.info</em> reports some basic information about a
 <em>r.info</em> reports some basic information about a
 user-specified raster map layer.  This map layer must exist
 user-specified raster map layer.  This map layer must exist
 in the user's current mapset search path.  Information
 in the user's current mapset search path.  Information
 about the map's boundaries, resolution, projection, data
 about the map's boundaries, resolution, projection, data
 type, category number, data base location and mapset, 
 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
 directories under the mapset in which the named map is
 stored.
 stored.
 
 
 <p>
 <p>
+
 The user can save the tabular output to a file 
 The user can save the tabular output to a file 
 by using the UNIX redirection mechanism (&gt;); for example, the user 
 by using the UNIX redirection mechanism (&gt;); for example, the user 
 might save a report on the <em>soils</em> map layer in a file called 
 might save a report on the <em>soils</em> map layer in a file called 
 <em>soil.rpt</em> by typing: 
 <em>soil.rpt</em> by typing: 
-<dl>
-<dd>
-<b>r.info map=</b><em>soils</em> &gt; <em>soil.rpt</em> 
-</dl>
 
 
-<p>
-<h2>ACCURACY</h2>
+<div class="code"><pre>
+r.info map=soils &gt; soil.rpt
+</pre></div> 
+
+<h2>NOTES</h2>
 
 
 On large maps, the total number of cells in the map may not be displayed 
 On large maps, the total number of cells in the map may not be displayed 
 with an accurate number. This is only cosmetic.
 with an accurate number. This is only cosmetic.
+
 <p>
 <p>
+
 Some standards (ISO-C90) and compilers do not support the 'long long' type 
 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, 
 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> 
 an accuracy message may be displayed in the output of <em>r.info</em> 
-after Total Cells:.
+after Total Cells:
+
 <p>
 <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    |
  | Layer:    slope                          Date: Mon Nov  5 10:55:57 2001    |
  | Mapset:   PERMANENT                      Login of Creator: neteler         |
  | 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                                              |
  |    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>
 <h2>SEE ALSO</h2>