.TH r.info 1grass "" "GRASS 6.4.4" "Grass User's Manual" .SH NAME \fI\fBr.info\fR\fR - Output basic information about a raster map layer. .SH KEYWORDS raster, metadata .SH SYNOPSIS \fBr.info\fR .br \fBr.info help\fR .br \fBr.info\fR [\-\fBrstghudmp\fR] \fBmap\fR=\fIname\fR [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] .SS Flags: .IP "\fB\-r\fR" 4m .br Print range only .IP "\fB\-s\fR" 4m .br Print raster map resolution (NS-res, EW-res) only .IP "\fB\-t\fR" 4m .br Print raster map type only .IP "\fB\-g\fR" 4m .br Print map region only .IP "\fB\-h\fR" 4m .br Print raster history instead of info .IP "\fB\-u\fR" 4m .br Print raster map data units only .IP "\fB\-d\fR" 4m .br Print raster map vertical datum only .IP "\fB\-m\fR" 4m .br Print map title only .IP "\fB\-p\fR" 4m .br Print raster map timestamp (day.month.year hour:minute:seconds) only .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBmap\fR=\fIname\fR" 4m .br Name of input raster map .PP .SH DESCRIPTION \fIr.info\fR 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 \fIcats\fR, \fIcellhd\fR, and \fIhist\fR directories under the mapset in which the named map is stored. .PP 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 \fIsoils\fR map layer in a file called \fIsoil.rpt\fR by typing: \fC .DS .br r.info map=soils > soil.rpt .br .DE \fR .SH NOTES On large maps, the total number of cells in the map may not be displayed with an accurate number. This is only cosmetic. .PP 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 \fIr.info\fR after Total Cells: .PP .SH EXAMPLES Below is a full report produced by \fIr.info\fR for the raster map \fIslope\fR in the Spearfish sample data base: \fC .DS .br +----------------------------------------------------------------------------+ .br | Layer: slope Date: Mon Nov 5 10:55:57 2001 | .br | Mapset: PERMANENT Login of Creator: neteler | .br | Location: spearfish60 | .br | DataBase: /home/neteler/grassdaten | .br | Title: slope in degrees ( slope ) | .br | Timestamp: 20 Mar 1984 10:30 -0600 / 21 Mar 2020 10:30 -0600 | .br |----------------------------------------------------------------------------| .br | | .br | Type of Map: raster Number of Categories: 255 | .br | Data Type: FCELL | .br | Rows: 477 | .br | Columns: 634 | .br | Total Cells: 302418 | .br | Projection: UTM (zone 13) | .br | N: 4928010 S: 4913700 Res: 30 | .br | E: 609000 W: 589980 Res: 30 | .br | Range of data: min = 0.000000 max = 52.520164 | .br | | .br | Data Source: | .br | raster elevation file elevation.dem | .br | | .br | | .br | Data Description: | .br | generated by r.slope.aspect | .br | | .br | Comments: | .br | slope map elev = elevation.dem | .br | zfactor = 1.00 format = degrees | .br | min_slp_allowed = 0.000000 | .br | | .br +----------------------------------------------------------------------------+ .br .DE \fR Alternatively, the output from \fIr.info\fR may be confined to a more terse subset of the available information by passing various flags to the module: \fC .DS .br r.info \-rst slope .br min=0.000000 .br max=52.520164 .br nsres=30 .br ewres=30 .br datatype=FCELL .br .br r.info \-g slope .br north=4928030 .br south=4913690 .br east=609000 .br west=589980 .br .DE \fR .SH SEE ALSO \fIg.mapsets,\fR \fIr.coin,\fR \fIr.describe,\fR \fIr.report,\fR \fIr.stats,\fR \fIr.support,\fR \fIr.univar,\fR \fIr.what\fR .SH AUTHOR Michael O'Shea, U.S. Army Construction Engineering Research Laboratory .PP \fILast changed: $Date: 2008-05-20 20:26:19 +0200 (Tue, 20 May 2008) $\fR .PP Full index .PP © 2003-2014 GRASS Development Team