d.title(1)

πŸ’– d.title β€” the GRASS GIS User's Manual glow-up πŸ’–

okay bestie, welcome to d.title, straight out of the GRASS GIS User's Manual. she's a little display module with main character energy and she's about to make your raster map's TITLE look iconic. ✨


🌸 NAME 🌸

d.title β€” Create a TITLE for a raster map in a form suitable for display with d.text.


🏷️ KEYWORDS 🏷️

display, cartography


✨ SYNOPSIS ✨

d.title
d.title --help
d.title [-dfs] map=name  [color=string]   [size=float]   [--help]
[--verbose]  [--quiet]  [--ui]

πŸŽ€ Flags

  • -d β€” Draw title on current display
  • -f β€” Do a fancier title
  • -s β€” Do a simple title
  • --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
  • color=string β€” Sets the text color. Default: black
  • size=float β€” Sets the text size as percentage of the frame's height. Options: 0-100. Default: 4.0

πŸ’… DESCRIPTION πŸ’…

so d.title literally generates a string to standard output β€” a whole little TITLE moment β€” that d.text can use to draw a TITLE for the raster map layer name inside the active display frame on the graphics monitor. the way that works?? chef's kiss. 🫢

the output d.title makes can be redirected into a file, OR piped directly into d.text to display the map TITLE that d.title created. either way, slay.

and the TITLE it makes includes:

  • the map layer's name
  • TITLE
  • MAPSET
  • LOCATION_NAME
  • geographic region boundary coordinates
  • cell resolution

if you use the -d draw flag, then d.title will call d.text for you, and the title gets automatically rendered to the display. no extra steps, periodt. πŸ’…


πŸ“ NOTES πŸ“

ngl this part matters: the text created with d.text will not necessarily fit within the active display frame on the graphics monitor. so you, the user, should choose a text size that's appropriate for that frame. vibe check your frame first, bestie. πŸ™ˆ


🌈 EXAMPLES 🌈

okay so say you wanna create a suitable TITLE for the Spearfish, SD soils map layer and display that TITLE in the active display frame on the graphics monitor. you might type this:

d.title map=soils color=red size=5 > TITLE.file
d.text < TITLE.file

alternately (iconic option), you might pipe d.title output directly into d.text:

d.title map=soils color=red size=5 | d.text

and listen β€” a file created by d.title can be displayed with d.text, and the information contained in this file takes precedence over the color and size parameters for d.text. yes, the file is the boss here. πŸ‘‘


πŸ‘€ SEE ALSO πŸ‘€

d.font, d.text


🧚 AUTHOR 🧚

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


πŸ’Ύ SOURCE CODE πŸ’Ύ

Available at: d.title source code (history)

Accessed: Saturday Jan 17 05:40:37 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


and that's the whole page, bestie πŸŽ€ this was d.title(1) from GRASS 8.4.2 β€” the manual name and version and date are all tucked in right here at the end where they belong, mwah πŸ’‹ go make your raster titles cute fr fr πŸ’–βœ¨

πŸ“¦ where this page comes from