1r.support(1) Grass User's Manual r.support(1)
2
3
4
6 r.support - Allows creation and/or modification of raster map layer
7 support files.
8
10 raster, metadata
11
13 r.support
14 r.support --help
15 r.support [-snd] map=name [title=phrase] [history=phrase]
16 [units=string] [vdatum=string] [source1=phrase] [source2=phrase]
17 [description=phrase] [raster=string] [loadhistory=name] [savehis‐
18 tory=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]
19
20 Flags:
21 -s
22 Update statistics (histogram, range)
23
24 -n
25 Create/reset the null file
26
27 -d
28 Delete the null file
29
30 --overwrite
31 Allow output files to overwrite existing files
32
33 --help
34 Print usage summary
35
36 --verbose
37 Verbose module output
38
39 --quiet
40 Quiet module output
41
42 --ui
43 Force launching GUI dialog
44
45 Parameters:
46 map=name [required]
47 Name of raster map
48
49 title=phrase
50 Title for resultant raster map
51
52 history=phrase
53 Text to append to the next line of the map’s metadata file
54
55 units=string
56 Text to use for map data units
57
58 vdatum=string
59 Text to use for map vertical datum
60
61 source1=phrase
62 Text to use for data source, line 1
63
64 source2=phrase
65 Text to use for data source, line 2
66
67 description=phrase
68 Text to use for data description or keyword(s)
69
70 raster=string
71 Raster map from which to copy category table
72
73 loadhistory=name
74 Text file from which to load history
75
76 savehistory=name
77 Text file in which to save history
78
80 r.support allows the user to create and/or edit raster map support
81 information. Editing of raster map color tables, category labels,
82 header, history, and title is supported. Category labels can also be
83 copied from another raster map.
84
86 These examples are based on the North Carolina dataset, more specfi‐
87 cally the landuse raster map. Copy the landuse map to the current
88 mapset
89 g.copy raster=landuse,my_landuse
90
91 Update statistics
92 r.support -s map=my_landuse
93
94 Update Title
95 r.support map=my_landuse title="Landuse copied"
96
97 Append to History Metadata
98 r.support map=my_landuse history="Copied from PERMANENT mapset"
99
100 Update Units Display
101 r.support map=my_landuse units=meter
102
104 If metadata options such as title or history are given the module will
105 run non-interactively. If only the map name is given r.support will
106 run interactively within a terminal shell and the user with be prompted
107 for input.
108
109 Freeform metadata information is stored in a "hist" file which may be
110 appended to by using the history option. Currently this is limited to
111 50 lines of text with a maximum line length of 78 characters. Any input
112 larger than this will be wrapped to the next line. All other metadata
113 strings available as standard options are limited to 79 characters.
114
116 r.category, r.describe, r.info, r.null, r.region, r.report, r.time‐
117 stamp
118
120 Micharl Shapiro, CERL: Original author
121 Brad Douglas: GRASS 6 Port
122 M. Hamish Bowman: command line enhancements
123 Markus Neteler: category copy from other map
124
125 Last changed: $Date: 2017-12-08 10:49:28 +0100 (Fri, 08 Dec 2017) $
126
128 Available at: r.support source code (history)
129
130 Main index | Raster index | Topics index | Keywords index | Graphical
131 index | Full index
132
133 © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
134
135
136
137GRASS 7.4.4 r.support(1)