r.semantic.label(1)
π r.semantic.label β the GRASS GIS User's Manual glow-up β¨
okay bestie, welcome to r.semantic.label from the GRASS GIS User's Manual, section 1 (that's the user commands girlies π). she's all about semantic label information and she's here to help you keep your raster maps organized. no cap.
πΈ NAME πΈ
r.semantic.label β manages semantic label information assigned to a single raster map or to a list of raster maps. she's the label-maker of your dreams, fr fr. π
π KEYWORDS π
general, imagery, semantic label, image collections β iykyk.
π¦ SYNOPSIS π¦
r.semantic.label
r.semantic.label --help
r.semantic.label map=name[,name,...] [semantic_label=name[,name,...]]
operation=string [--help] [--verbose] [--quiet] [--ui]
β¨ Flags β¨
--helpβ prints the usage summary, aka the lil cheat sheet. π«Ά--verboseβ verbose module output. she talks more. she tells you things.--quietβ quiet module output. she's giving mysterious, lowkey.--uiβ force launching the GUI dialog. main character energy, graphically.
π Parameters π
map=name[,name,...]β [required] name of the raster map(s). one map or a whole lil squad of them, your call.semantic_label=name[,name,...]β name of the semantic label identifier (example:S2_1). this is the label you're stamping on πoperation=stringβ [required] the operation to be performed.- Options:
add,remove,print - Default:
add
- Options:
π DESCRIPTION π
r.semantic.label allows assigning semantic label information to a single raster map or to a list of specified raster maps. the semantic label can be defined by the semantic_label option β you just tell her what to call it. π·οΈ
already got a semantic label sitting there that you don't want anymore? no worries bestie, operation=remove takes it off a specified raster map. clean slate, periodt.
and if you just wanna look at what's already been assigned? the module also lets you print detailed semantic label information already assigned to a raster map by using operation=print. she's transparent, she's honest, she's everything. π
oh and also β either a single raster map or a list of raster maps can be given by the map option. flexible queen. π
π NOTES π
heads up babes: only raster maps from the current mapsets can be modified. that's the vibe check. if it's not in your current mapset, she can't touch it. π
for more information about the semantic label concept and the supported sensors (generic multispectral system, Landsat-5, Landsat-7, Landsat-8, Sentinel-2) β go peek at the i.band.library module. she's the lore keeper. πβ¨
semantic labels are supported by temporal GRASS modules. the name of a STRDS can be extended by a band identifier in order to filter the result by a semantic label. see t.register, t.rast.list, t.info and t.rast.mapcalc modules for examples β they're all serving looks. π
π EXAMPLES π
π Assign semantic label to a single raster map
r.semantic.label map=T33UVR_20180506T100031_B01 semantic_label=S2_1
one map, one label. simple. elegant. iconic.
π Assign semantic label to a list of raster maps
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180521T100029_B01 semantic_label=S2_1,S2_1
two maps, both get S2_1. matching outfits, we love to see it. π«Ά
π Assign different semantic labels to a list of raster maps
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 semantic_label=S2_1,S2_2
now they're individuals. S2_1 and S2_2, each living her own truth. π
π Remove semantic label from a list of raster maps
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 operation=remove
bye bye labels π it's giving fresh start.
π Print semantic label information about single raster map
r.semantic.label map=T33UVR_20180506T100031_B01 operation=print
just one map's receipts, please.
π Print extended semantic label information for a list of raster map
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 operation=print
the full extended tea β for the whole list. obsessed.
π KNOWN ISSUES π
r.semantic.label allows managing semantic labels only related to 2D raster maps. so like, 2D only, bestie. that's the limit. don't come at her with 3D, she will simply not. π
π SEE ALSO π
i.band.library, r.info, r.support
go say hi, they're all in the friend group. πΈ
π AUTHORS π
Martin Landa
Development sponsored by mundialis GmbH & Co. KG (for the openEO EU H2020 grant 776242)
π SOURCE CODE π
Available at: r.semantic.label source code (history)
Accessed: Saturday Jan 17 05:41:52 2026
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual π
and that's the whole page, bestie β brought to you by GRASS 8.4.2, r.semantic.label(1), accessed Saturday Jan 17 05:41:52 2026. go label something. slay. π
β¨π¦
π¦ 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