Overview
|
Logs
|
GitHub
r.example.twice
NAME
r.example.twice - Multiply values in a raster map by two
KEYWORDS
raster ,
algebra ,
multiplication
SYNOPSIS
r.example.twice
r.example.twice --help
r.example.twice input =name output =name [--overwrite ] [--help ] [--verbose ] [--quiet ] [--ui ]
Flags:
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog
Parameters:
input =name [required]
Name of input raster map
output =name [required]
Name for output raster map
r.example does practically do nothing, except
for illustrating GRASS GIS raster programming. It copies
over an existing raster map to a new raster map.
See the source code for details.
Some more detailed notes go here.
Create a copy of the raster map "elevation"
(North Carolina sample dataset):
g.region raster=elevation -p
r.example input=elevation output=elevation2
r.info elevation2
r.stats ,
v.example
GRASS Programmer's Manual
GRASS Development Team
SOURCE CODE
Available at:
r.example.twice source code
(history )
Accessed: Monday Jul 27 12:29:15 2026
Overview
|
Logs
|
GitHub
r.example.twice
Main index |
Raster index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2026
GRASS Development Team ,
GRASS 8.5.1dev Reference Manual