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 mapcolor=stringβ Sets the text color. Default:blacksize=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
- 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