d.labels(1)

πŸ’– d.labels(1) β€” the GRASS GIS User's Manual glow-up πŸ’–

okay bestie, gather round, we're talking about d.labels from the GRASS GIS manual, and honestly? she's a whole mood. πŸ’…

KEYWORDS: display, paint labels β€” yeah, she's a display module and she paints labels, no cap.


✨ NAME ✨

d.labels β€” she displays text labels (the ones you made with v.label) onto the active frame on the graphics monitor. iconic behavior fr. πŸŽ€


🌸 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 draw everything horizontally. like, straight up. no tilt. periodt.
  • --help β€” Print usage summary. your lil cheat sheet 🫢
  • --verbose β€” Verbose module output. she will yap (affectionately) πŸ’¬
  • --quiet β€” Quiet module output. she will NOT yap πŸ™ˆ
  • --ui β€” Force launching GUI dialog. pop-up era ✨

πŸ“ Parameters πŸ“

  • labels=string [required] β€” Name of label file. this one's mandatory bestie, no skipping πŸ’€
  • minreg=float β€” Minimum region size (diagonal) when labels are displayed
  • maxreg=float β€” Maximum region size (diagonal) when labels are displayed

πŸ’œ DESCRIPTION πŸ’œ

so d.labels displays a paint label file in the active display frame on the graphics monitor. that's the whole vibe. 🌈

every label has components that determine:

  • the text
  • the location of the text on the image
  • its size
  • the background for the text

and you can get this file either by generating it with the v.label program, OR by just... being a DIY queen and creating it yourself as an ASCII file in a text editor πŸ‘‘ β€” then dropping it in the appropriate directory under your current mapset and project, which is:

$MAPSET/paint/labels/

slay. simple as that. πŸ’…


⭐ NOTES ⭐

heads up: some of the info stored in the label file is unused by d.labels. she doesn't read everything in there, okay? that extra info gets used by other programs, like ps.map. so don't panic if you're like "why isn't this doing anything" β€” she's just not the one who cares about it. 😌

also, history lesson moment: this module was formerly known as d.paint.labels. glow-up rebrand, we love to see it. ✨

and here's the tea: 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 that feature is lowkey still waiting in the group chat to be added. 🫠


πŸ‘€ SEE ALSO πŸ‘€

  • d.font
  • d.text
  • d.title
  • ps.map
  • v.label

the whole friend group fr πŸ’–


πŸŽ€ AUTHOR πŸŽ€

James Westervelt, U.S. Army Construction Engineering Research Laboratory

(legend. absolute icon. respect. 🫑)


πŸ”₯ SOURCE CODE πŸ”₯

Available at: d.labels source code (history)

Accessed: Saturday Jan 17 05:40:35 2026

Main index | Display index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual


okay that's the whole page bestie, we ate and left no crumbs πŸ½οΈπŸ’… GRASS 8.4.2, and yeah, this was d.labels(1) β€” mwah, love u, go paint some labels πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from