r.support(1)
π r.support(1) β the GRASS GIS User's Manual glow-up π
okay bestie, sit down, hydrate, because we're talking about r.support, straight out of the GRASS GIS User's Manual. it's the raster support-file queen and she's about to fix your metadata. π
β¨ NAME β¨
r.support β allows creation and/or modification of raster map layer support files. literally that's her whole job and she eats every time. π
π·οΈ KEYWORDS π·οΈ
raster, metadata
πΈ SYNOPSIS πΈ
r.support
r.support --help
r.support [-bsnd] map=name [title=phrase] [history=phrase]
[units=string] [vdatum=string] [source1=phrase] [source2=phrase]
[description=phrase] [raster=string] [loadhistory=name]
[savehistory=name] [semantic_label=phrase] [--overwrite] [--help]
[--verbose] [--quiet] [--ui]
π Flags π
-bβ Delete the semantic label. bye bye label π«Ά-sβ Update statistics (histogram, range). the numbers get a refresh β¨-nβ Create/reset the null file-dβ Delete the null file--overwriteβ Allow output files to overwrite existing files--helpβ Print usage summary--verboseβ Verbose module output--quietβ Quiet module output--uiβ Force launching GUI dialog
π§ Parameters π§
map=name[required] β Name of raster map. yeah you gotta give her a map, no map no service πtitle=phraseβ Title for resultant raster maphistory=phraseβ Text to append to the next line of the map's metadata fileunits=stringβ Text to use for map data unitsvdatum=stringβ Text to use for map vertical datumsource1=phraseβ Text to use for data source, line 1source2=phraseβ Text to use for data source, line 2description=phraseβ Text to use for data description or keyword(s)raster=stringβ Raster map from which to copy category tableloadhistory=nameβ Text file from which to load historysavehistory=nameβ Text file in which to save historysemantic_label=phraseβ Semantic label e.g.S2_8A
π DESCRIPTION π
r.support lets you create and/or edit raster map support information. Editing of raster map color tables, category labels, header, history, semantic label elements and title is supported. Category labels can also be copied from another raster map. it's giving metadata makeover montage π
π°οΈ Raster semantic labels and band management π°οΈ
The raster semantic label concept is similar to a dimension name in other GIS and remote sensing applications. Most common usage will be assigning a remote sensing platform sensor band identifier to the raster map metadata, although any identifier is supported (see i.band.library). Raster semantic label is suggested to work with imagery classification tools. bestie, she's basically the band-name fairy π§β¨
π EXAMPLES π
These examples are based on the North Carolina dataset, more specifically the landuse raster map. Copy the landuse map to the current mapset:
g.copy raster=landuse,my_landuse
π Update statistics π
r.support -s map=my_landuse
βοΈ Update Title βοΈ
r.support map=my_landuse title="Landuse copied"
π Append to History Metadata π
r.support map=my_landuse history="Copied from PERMANENT mapset"
π Update Units Display π
r.support map=my_landuse units=meter
π·οΈ Set semantic label π·οΈ
Note: landuse map doesn't confirm to CORINE specification. This is an example only. don't come for me, it's just a demo π
r.support map=my_landuse semantic_label=CORINE_LULC
π NOTES π
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 will be prompted for input. so like, either she just does it, or she sits you down for a lil chat π«Ά
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. yes the limits are real, the vibe is still immaculate π
π SEE ALSO π
i.band.library, r.category, r.describe, r.info, r.null, r.region, r.report, r.semantic.label, r.timestamp
π AUTHORS π
- Micharl Shapiro, CERL: Original author
- Brad Douglas: GRASS 6 Port
- M. Hamish Bowman: command line enhancements
- Markus Neteler: category copy from other map
- Maris Nartiss: semantic label management
π¦ SOURCE CODE π¦
Available at: r.support source code (history)
Accessed: Saturday Jan 17 05:41:01 2026
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page, bestie π₯° this was GRASS 8.4.2, from the Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual, and the footer said GRASS 8.4.2 on the left and r.support(1) on the right β iconic, no notes, periodt. β¨ππ
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms