d.title(1grass)
π d.title β the GRASS User's Manual era π
okay bestie, sit down, hydrate, and let's talk about d.title from the GRASS manual. this is the whole page, nothing skipped, all vibes intact. π«Ά
β¨ NAME β¨
d.title β make a TITLE for a raster map, in a format that's ready to get served up by d.text. it's giving label-maker but make it GIS. π
πΈ KEYWORDS πΈ
display, cartography β yes she's a cartography girlie, periodt.
π SYNOPSIS π
d.title
d.title --help
d.title [-dfs] map=name [color=string] [size=float] [--help]
[--verbose] [--quiet] [--ui]
π¦ Flags π¦
-dβ draw the title on the current display. she's doing it live, no rehearsal.-fβ do a fancier title β¨ extra, elevated, main character energy.-sβ do a simple title. lowkey, understated, still iconic.--helpβ print usage summary. when in doubt, ask her. π--verboseβ verbose module output. she tells you EVERYTHING.--quietβ quiet module output. she says nothing. mysterious. π--uiβ force launching GUI dialog. point-and-click mode, no cap.
π Parameters π
map=name[required] β name of raster map. this one is mandatory bestie, she's not optional. π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 here's the tea: d.title generates a string to standard output that d.text can use to draw a TITLE for your raster map layer's name, inside the active display frame on the graphics monitor. literally it's the hype-woman for d.text. π«Ά
the output that d.title makes can be redirected into a file, OR piped straight into d.text to display the map TITLE that d.title cooked up. the map TITLE she creates will include:
- the map layer's name
TITLEMAPSETLOCATION_NAME- geographic region boundary coordinates
- cell resolution
and if you use the -d draw flag? she calls d.text for you, and the title gets rendered to the display automatically. not me being helpful, it's just who she is. π
π NOTES π
β οΈ heads up bestie: the text created with d.text will not necessarily fit within the active display frame on the graphics monitor. you, the user, should choose a text size appropriate to this frame. size matters here, fr fr.
β EXAMPLES β
say a user wants to create a suitable TITLE for the Spearfish, SD soils map layer, and display that TITLE in the active display frame on the graphics monitor. she might type this:
d.title map=soils color=red size=5 > TITLE.file
d.text < TITLE.file
or alternately, she might pipe d.title output directly into d.text:
d.title map=soils color=red size=5 | d.text
a file created by d.title can be displayed with d.text. and here's the important bit β information contained in this file takes precedence over the color and size parameters for d.text. so the file wins. always. ππ
π SEE ALSO π
d.fontd.text
π AUTHOR π
James Westervelt, U.S. Army Construction Engineering Research Laboratory β thank you for your service, king. π«‘
π₯ SOURCE CODE π₯
Available at: d.title source code (history)
Latest change: Thursday May 08 14:17:52 2025 in commit: 3caa352f78f86a51ca463a6f1ba7ffe3db9771df
Main index | Display index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page bestie, no crumbs left on the plate πβ¨ β this was d.title from GRASS 8.5.0, Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual, last touched by that commit on Thursday May 08 14:17:52 2025. mwah. πππ¦
π¦ 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