logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

d.title - Create a TITLE for a raster map in a form suitable for display with d.text.

Author

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

Description

d.title  generates to standard output a string which can be used by d.text to draw a TITLE for the raster
       map layer name in the active display frame on the graphics monitor.  Output created  by  d.title  can  be
       redirected  into  a file, or piped directly into d.text to display the map TITLE created by d.title.  The
       map TITLE created will include the map layer’s name,  TITLE,  MAPSET,  LOCATION_NAME,  geographic  region
       boundary  coordinates,  and  cell resolution.  If the -d draw flag is used, then d.title will call d.text
       for you and the title will be automatically rendered to the display.

Examples

       For  example,  a  user  wishing  to  create a suitable TITLE for the Spearfish, SD soils map layer and to
       display this TITLE in the active display frame on the graphics monitor might type the following:
       d.title map=soils color=red size=5 > TITLE.file
       d.text < TITLE.file
       Alternately, the user 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.   Information  contained  in  this  file  takes
       precedence over the color and size parameters for d.text.

Keywords

       display, cartography

Name

d.title  - Create a TITLE for a raster map in a form suitable for display with d.text.

Notes

       The text created with d.text will not necessarily fit within the active display  frame  on  the  graphics
       monitor; the user should choose a text size appropriate to this frame.

See Also

d.font,d.text

Source Code

       Available at: d.title source code (history)

       Accessed: Friday Apr 04 01:18:50 2025

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

       © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1                                                                                      d.title(1grass)

Synopsis

d.titled.title--helpd.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: blacksize=float
           Sets the text size as percentage of the frame’s height
           Options: 0-100
           Default: 4.0

See Also