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 map
  • history=phrase β€” Text to append to the next line of the map's metadata file
  • units=string β€” Text to use for map data units
  • vdatum=string β€” Text to use for map vertical datum
  • source1=phrase β€” Text to use for data source, line 1
  • source2=phrase β€” Text to use for data source, line 2
  • description=phrase β€” Text to use for data description or keyword(s)
  • raster=string β€” Raster map from which to copy category table
  • loadhistory=name β€” Text file from which to load history
  • savehistory=name β€” Text file in which to save history
  • semantic_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