1r.info(1)                     Grass User's Manual                    r.info(1)
2
3
4

NAME

6       r.info  - Output basic information about a raster map layer.
7

KEYWORDS

9       raster
10

SYNOPSIS

12       r.info
13       r.info help
14       r.info [-rstghudmp] map=name  [--verbose]  [--quiet]
15
16   Flags:
17       -r
18           Print range only
19
20       -s
21           Print raster map resolution (NS-res, EW-res) only
22
23       -t
24           Print raster map type only
25
26       -g
27           Print map region only
28
29       -h
30           Print raster history instead of info
31
32       -u
33           Print raster map data units only
34
35       -d
36           Print raster map vertical datum only
37
38       -m
39           Print map title only
40
41       -p
42           Print  raster  map  timestamp  (day.month.year hour:minute:seconds)
43           only
44
45       --verbose
46           Verbose module output
47
48       --quiet
49           Quiet module output
50
51   Parameters:
52       map=name
53           Name of input raster map
54

DESCRIPTION

56       r.info reports some basic information about a user-specified raster map
57       layer.   This  map layer must exist in the user's current mapset search
58       path.  Information about the map's boundaries, resolution,  projection,
59       data  type,  category  number, data base location and mapset, the time‐
60       stamp and history are put into a table and written to standard  output.
61       The  types of information listed can also be found in the cats, cellhd,
62       and hist directories under the mapset in which the named map is stored.
63
64       The user can save the tabular output to a file by using the UNIX  redi‐
65       rection mechanism (>); for example, the user might save a report on the
66       soils map layer in a file called soil.rpt by typing: r.info map=soils >
67       soil.rpt
68

ACCURACY

70       On  large  maps,  the  total number of cells in the map may not be dis‐
71       played with an accurate number. This is only cosmetic.
72
73       Some standards (ISO-C90) and compilers do not support the  'long  long'
74       type  as  a  64-bit  type. In the case that GRASS was built with such a
75       compiler, an accuracy message may be displayed in the output of  r.info
76       after Total Cells:.
77
78       Below  is the report produced by r.info for the raster map slope in the
79       Spearfish sample data base.
80        +----------------------------------------------------------------------------+
81        |  Layer:     slope                          Date: Mon Nov  5 10:55:57
82       2001    |
83        | Mapset:   PERMANENT                      Login of  Creator:  neteler
84       |
85        |                         Location:                        spearfish60
86       |
87        |                  DataBase:                  /home/neteler/grassdaten
88       |
89        |      Title:         slope      in      degrees     (     slope     )
90       |
91        | Timestamp: 20 Mar 1984  10:30  -0600  /  21  Mar  2020  10:30  -0600
92       |
93        |----------------------------------------------------------------------------|
94        |
95       |
96        |    Type  of  Map:   raster                Number  of Categories: 255
97       |
98        |                  Data                 Type:                    FCELL
99       |
100        |                            Rows:                                 477
101       |
102        |                           Columns:                               634
103       |
104        |                   Total                Cells:                 302418
105       |
106        |                 Projection:          UTM          (zone          13)
107       |
108        |               N:       4928010      S:      4913700     Res:      30
109       |
110        |              E:       609000      W:       589980      Res:       30
111       |
112        |     Range   of   data:      min   =    0.000000   max   =  52.520164
113       |
114        |
115       |
116        |                              Data                            Source:
117       |
118        |           raster        elevation         file         elevation.dem
119       |
120        |
121       |
122        |
123       |
124        |                            Data                         Description:
125       |
126        |                generated              by              r.slope.aspect
127       |
128        |
129       |
130        |                                                            Comments:
131       |
132        |           slope        map        elev        =        elevation.dem
133       |
134        |         zfactor      =       1.00       format       =       degrees
135       |
136        |                 min_slp_allowed              =              0.000000
137       |
138        |
139       |
140        +----------------------------------------------------------------------------+
141
142

SEE ALSO

144       g.mapsets, r.coin, r.describe, r.report, r.stats, r.support, r.what
145

AUTHOR

147       Michael O'Shea, U.S. Army Construction Engineering Research Laboratory
148
149       Last changed: $Date: 2007-10-22 01:04:41 +0200 (Mon, 22 Oct 2007) $
150
151       Full index
152
153       © 2003-2008 GRASS Development Team
154
155
156
157GRASS 6.3.0                                                          r.info(1)
Impressum