d.labels(1grass)
π d.labels π
okay bestie, so this is d.labels from the GRASS User's Manual β she's a display module and she is so good at what she does, like genuinely. Let's get into it. π
β¨ NAME β¨
d.labels β she displays text labels (the ones you made with v.label, mwah) onto the active frame on the graphics monitor. that's it. that's her whole job and she ate. π
π KEYWORDS π
display, paint labels
πΈ SYNOPSIS πΈ
d.labels
d.labels --help
d.labels [-i] labels=string [minreg=float] [maxreg=float] [--help]
[--verbose] [--quiet] [--ui]
π«Ά Flags π«Ά
-iβ ignore the rotation setting and just draw everything horizontally. no tilt, no drama. π--helpβ prints the usage summary, aka the "what does this even do" button--verboseβ verbose module output (she gets chatty π¬)--quietβ quiet module output (she goes silent π€«)--uiβ forces a GUI dialog to launch, for when you want the pretty buttons instead of the terminal β¨
π§ Parameters π§
labels=string[required] β the name of your label file. required required, no skipping, this is the main character π―minreg=floatβ minimum region size (diagonal) for when labels get displayedmaxreg=floatβ maximum region size (diagonal) for when labels get displayed
π DESCRIPTION π
so d.labels displays a paint label file in the active display frame on the graphics monitor. each label in there has its own lil components that decide: the text itself, where that text sits on the image, how big it is, and what background it gets behind it. β¨
and the file? it can be generated with the v.label program, or honestly you can just rawdog it β create it yourself as an ASCII file with a text editor and drop it in the right directory under your current mapset and project. that path is:
$MAPSET/paint/labels/
iykyk. π¦
π NOTES π
ngl, not all the info stored in the label file actually gets used by d.labels. some of that extra info is there for other programs like ps.map to snack on. so don't panic if it looks like stuff is being ignored β it's just reserved for her friends. π
also a history moment: this module was formerly known as d.paint.labels. the old version of d.labels from GRASS 5 β the one that gave you interactive placement and modification of paint labels β still needs to have its functionality merged into this module. so basically the glow-up is not fully complete yet, and that's just the way it is right now. π
π SEE ALSO π
d.fontd.textd.titleps.mapv.label
π AUTHOR π
James Westervelt, U.S. Army Construction Engineering Research Laboratory
π SOURCE CODE π
Available at: d.labels source code (history)
Latest change: Friday Apr 17 01:04:26 2026 in commit: 32a143358df26b2e518b03c7e0d79541e8d1e5b1
Main index | Display index | Topics index | Keywords index | Graphical index | Full index
okay so that's literally the whole page, bestie. go display those labels. slay. π
and a cute lil sign-off for you: this is all from the GRASS 8.5.0 Reference Manual, Β© 2003-2026 GRASS Development Team, and the whole thing is GRASS 8.5.0 β periodt. π
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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