r.support(1grass) | Grass User's Manual | r.support(1grass) |
r.support - Allows creation and/or modification of raster map layer support files.
raster, metadata
r.support
r.support --help
r.support [-snd] map=name
[title=phrase] [history=phrase]
[units=string] [vdatum=string]
[source1=phrase] [source2=phrase]
[description=phrase] [raster=string]
[loadhistory=name] [savehistory=name]
[--overwrite] [--help] [--verbose] [--quiet]
[--ui]
r.support allows the user to create and/or edit raster map support information. Editing of raster map color tables, category labels, header, history, and title is supported. Category labels can also be copied from another raster map.
These examples are based on the North Carolina dataset, more
specfically the landuse raster map. Copy the landuse map to the
current mapset
g.copy raster=landuse,my_landuse
r.support -s map=my_landuse
r.support map=my_landuse title="Landuse copied"
r.support map=my_landuse history="Copied from PERMANENT mapset"
r.support map=my_landuse units=meter
If metadata options such as title or history are given the module will run non-interactively. If only the map name is given r.support will run interactively within a terminal shell and the user with be prompted for input.
Freeform metadata information is stored in a "hist" file which may be appended to by using the history option. Currently this is limited to 50 lines of text with a maximum line length of 78 characters. Any input larger than this will be wrapped to the next line. All other metadata strings available as standard options are limited to 79 characters.
r.category, r.describe, r.info, r.null, r.region, r.report, r.timestamp
Micharl Shapiro, CERL: Original author
Brad Douglas: GRASS 6 Port
M. Hamish Bowman: command line enhancements
Markus Neteler: category copy from other map
Last changed: $Date: 2017-12-08 10:46:36 +0100 (Fri, 08 Dec 2017) $
Available at: r.support source code (history)
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
GRASS 7.6.0 |