d.rast.num(1grass)


NAME

   d.rast.num   -  Overlays cell category values on a raster map displayed
   in the active graphics frame.

KEYWORDS

   display, map annotations, raster

SYNOPSIS

   d.rast.num
   d.rast.num --help
   d.rast.num  [-af]   map=name    [text_color=name]     [grid_color=name]
   [precision=integer]    [font=string]    [path=name]    [charset=string]
   [--help]  [--verbose]  [--quiet]  [--ui]

   Flags:
   -a
       Align grids with raster cells

   -f
       Get text color from cell color value

   --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

   text_color=name
       Text color
       Either a standard color name or R:G:B triplet
       Default: black

   grid_color=name
       Grid color
       Either a standard color name, R:G:B triplet, or "none"
       Default: gray

   precision=integer
       Number of significant digits (floating point only)
       Options: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
       Default: 1

   font=string
       Font name

   path=name
       Path to font file

   charset=string
       Text encoding (only applicable to TrueType fonts)

DESCRIPTION

   d.rast.num overlays cell  category  values  onto  a  raster  map  layer
   displayed  on  the  user's  graphics  monitor.  Category values will be
   displayed in the text color given and scaled to  fit  within  a  single
   cell.  A  grid  outlining  each  map  cell  will  also be overlain in a
   user-specified color, unless it has been set to "none".

   If no grid color is given the default will be used. If no map layer  is
   specified,  the program will use whatever raster map layer is currently
   displayed in the active frame on the graphics monitor.

   If the -f flag is given the displayed number will take on the color  of
   the base map in that cell.

NOTES

   The  user  is  advised  to set the current region to a relatively small
   area (i.e.,  less  than  100  rows  by  100  columns);  otherwise,  the
   individual  cells  being displayed will be small and the category value
   associated with each will be difficult  to  see.   No  data  cells  are
   indicated with "Null".

EXAMPLE

   A) Distance from the streams network (North Carolina sample dataset):
   g.region raster=streams_derived -p
   r.grow.distance input=streams_derived distance=dist_from_streams
   d.rast.num dist_from_streams -a
   Euclidean  distance from the streams network in meters (detail, numbers
   shown with d.rast.num)

SEE ALSO

     d.frame,  d.grid,  d.rast,   d.rast.arrow,   d.rast.edit,   g.region,
   r.slope.aspect

AUTHORS

   Raghavan Srinivasan, and Chris Rewerts,
   Agricultural Engineering, Purdue University

   Last changed: $Date: 2015-05-01 12:25:58 +0200 (Fri, 01 May 2015) $

SOURCE CODE

   Available at: d.rast.num source code (history)

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

    2003-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.