123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <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 <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:
- <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:
- <p>
- <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:
- <div class="code"><pre>
- +----------------------------------------------------------------------------+
- | Layer: slope Date: Mon Nov 5 10:55:57 2001 |
- | Mapset: PERMANENT Login of Creator: neteler |
- | Location: spearfish60 |
- | DataBase: /home/neteler/grassdaten |
- | Title: slope in degrees ( slope ) |
- | Timestamp: 20 Mar 1984 10:30 -0600 / 21 Mar 2020 10:30 -0600 |
- |----------------------------------------------------------------------------|
- | |
- | Type of Map: raster Number of Categories: 255 |
- | Data Type: FCELL |
- | Rows: 477 |
- | Columns: 634 |
- | Total Cells: 302418 |
- | Projection: UTM (zone 13) |
- | N: 4928010 S: 4913700 Res: 30 |
- | E: 609000 W: 589980 Res: 30 |
- | Range of data: min = 0.000000 max = 52.520164 |
- | |
- | Data Source: |
- | raster elevation file elevation.dem |
- | |
- | |
- | Data Description: |
- | generated by r.slope.aspect |
- | |
- | Comments: |
- | slope map elev = elevation.dem |
- | zfactor = 1.00 format = degrees |
- | min_slp_allowed = 0.000000 |
- | |
- +----------------------------------------------------------------------------+
- </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>
- GRASS> r.info -g slope
- north=4928030
- south=4913690
- east=609000
- west=589980
- nsres=30
- ewres=30
- rows=477
- cols=634
- cells=302418
- datatype=FCELL
- GRASS> r.info -r slope
- min=0.000000
- max=52.520164
- GRASS> r.info -e slope
- title=slope in degrees (slope)
- units="none"
- vertical_datum="none"
- timestamp="none"
- </pre></div>
- <h2>SEE ALSO</h2>
- <em><a href="g.mapsets.html">g.mapsets</a>,</em>
- <em><a href="r.coin.html">r.coin</a>,</em>
- <em><a href="r.describe.html">r.describe</a>,</em>
- <em><a href="r.report.html">r.report</a>,</em>
- <em><a href="r.stats.html">r.stats</a>,</em>
- <em><a href="r.support.html">r.support</a>,</em>
- <em><a href="r.univar.html">r.univar</a>,</em>
- <em><a href="r.what.html">r.what</a></em>
- <h2>AUTHOR</h2>
- Michael O'Shea,
- <a href="http://www.cecer.army.mil/">U.S. Army Construction Engineering Research Laboratory</a>
- <p>
- <i>Last changed: $Date$</i>
|