r.semantic.label - Manages semantic label information assigned to a single raster map or to a list of
Contents
Description
r.semantic.label allows assigning a semantic label information to a single raster map or to a list of
specified raster maps. Semantic label can be defined by semantic_label option. Already assigned semantic
label can be removed from a specified raster map by operation=remove. The module also allows printing
detailed semantic label information already assigned to a raster map by operation=print.
Either a single raster map or a list of raster maps can be given by map option.
Examples
Assignsemanticlabeltoasinglerastermap
r.semantic.label map=T33UVR_20180506T100031_B01 semantic_label=S2_1
Assignsemanticlabeltoalistofrastermaps
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180521T100029_B01 semantic_label=S2_1,S2_1
Assigndifferentsemanticlabelstoalistofrastermaps
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 semantic_label=S2_1,S2_2
Removesemanticlabelfromalistofrastermaps
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 operation=remove
Printsemanticlabelinformationaboutsinglerastermap
r.semantic.label map=T33UVR_20180506T100031_B01 operation=print
Printextendedsemanticlabelinformationforalistofrastermap
r.semantic.label map=T33UVR_20180506T100031_B01,T33UVR_20180506T100031_B02 operation=print
Keywords
general, imagery, semantic label, image collections
Known Issues
r.semantic.label allows managing semantic labels only related to 2D raster maps.
Name
r.semantic.label - Manages semantic label information assigned to a single raster map or to a list of
raster maps.
Notes
Note that onlyrastermapsfromthecurrentmapsets can be modified.
For more information about semantic label concept and supported sensors (generic multispectral system,
Landsat-5, Landsat-7, Landsat-8, Sentinel-2) see the i.band.library module.
Semantic labels are supported by temporal GRASS modules. Name of STRDS can be extended by 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.
See Also
i.band.library,r.info,r.support
Source Code
Available at: r.semantic.label source code (history)
Accessed: Friday Apr 04 01:21:12 2025
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
GRASS 8.4.1 r.semantic.label(1grass)
Synopsis
r.semantic.labelr.semantic.label--helpr.semantic.labelmap=name[,name,...] [semantic_label=name[,name,...]] operation=string [--help]
[--verbose] [--quiet] [--ui]
Flags:--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog
Parameters:map=name[,name,...] [required]
Name of raster map(s)
semantic_label=name[,name,...]
Name of semantic label identifier (example: S2_1)
operation=string[required]
Operation to be performed
Options: add,remove,print
Default: add