OnWorks favicon

d.rast.numgrass - Online in the Cloud

Run d.rast.numgrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command d.rast.numgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



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


display, map annotations, raster


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

Align grids with raster cells

Get text color from cell color value

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog

map=name [required]
Name of raster map

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

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

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


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.


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


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

Use d.rast.numgrass online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    Download Metal detector based on RP2040
  • More »

Linux commands