1r.info(1) Grass User's Manual r.info(1)
2
3
4
6 r.info - Outputs basic information about a user-specified raster map
7 layer.
8
10 raster
11
13 r.info
14 r.info help
15 r.info [-rstghp] map=name
16
17 Flags:
18 -r Print range only
19
20 -s Print raster map resolution (NS-res, EW-res) only
21
22 -t Print raster map type only
23
24 -g Print raster map region only
25
26 -h Print raster history instead of info
27
28 -p Print raster map timestamp (day.month.year hour:minute:seconds)
29 only
30
31 Parameters:
32 map=name
33 Name of input raster map
34
36 r.info reports some basic information about a user-specified raster map
37 layer. This map layer must exist in the user's current mapset search
38 path. Information about the map's boundaries, resolution, projection,
39 data type, category number, data base location and mapset, the time‐
40 stamp and history are put into a table and written to standard output.
41 The types of information listed can also be found in the cats, cellhd,
42 and hist directories under the mapset in which the named map is stored.
43
44 The user can save the tabular output to a file by using the UNIX redi‐
45 rection mechanism (>); for example, the user might save a report on the
46 soils map layer in a file called soil.rpt by typing: r.info map=soils >
47 soil.rpt
48
49 Below is the report produced by r.info for the raster map slope in the
50 Spearfish sample data base.
51 +----------------------------------------------------------------------------+
52 | Layer: slope Date: Mon Nov 5 10:55:57
53 2001 |
54 | Mapset: PERMANENT Login of Creator: neteler
55 |
56 | Location: spearfish60
57 |
58 | DataBase: /home/neteler/grassdaten
59 |
60 | Title: slope in degrees ( slope )
61 |
62 | Timestamp: 20 Mar 1984 10:30 -0600 / 21 Mar 2020 10:30 -0600
63 |
64 |----------------------------------------------------------------------------|
65 |
66 |
67 | Type of Map: raster Number of Categories: 255
68 |
69 | Data Type: FCELL
70 |
71 | Rows: 477
72 |
73 | Columns: 634
74 |
75 | Total Cells: 302418
76 |
77 | Projection: UTM (zone 13)
78 |
79 | N: 4928010 S: 4913700 Res: 30
80 |
81 | E: 609000 W: 589980 Res: 30
82 |
83 | Range of data: min = 0.000000 max = 52.520164
84 |
85 |
86 |
87 | Data Source:
88 |
89 | raster elevation file elevation.dem
90 |
91 |
92 |
93 |
94 |
95 | Data Description:
96 |
97 | generated by r.slope.aspect
98 |
99 |
100 |
101 | Comments:
102 |
103 | slope map elev = elevation.dem
104 |
105 | zfactor = 1.00 format = degrees
106 |
107 | min_slp_allowed = 0.000000
108 |
109 |
110 |
111 +----------------------------------------------------------------------------+
112
113
115 g.mapsets, r.coin, r.describe, r.report, r.stats, r.support, r.what
116
118 Michael O'Shea, U.S. Army Construction Engineering Research Laboratory
119
120 Last changed: $Date: 2006/04/08 10:30:17 $
121
122 Full index
123
124
125
126GRASS 6.2.2 r.info(1)