Markus Metz 1bfefa2d0d r.random: fix https://trac.osgeo.org/grass/ticket/1082 and https://trac.osgeo.org/grass/ticket/1874 12 年之前
..
Makefile d6700ffb2c Update LIBES, DEPENDENCIES from linkage database 15 年之前
README db49180dd7 welcome to GRASS 7.0.svn 17 年之前
count.c df4d81abd4 Move raster-specific functions from lib/gis to lib/raster: 15 年之前
creat_rand.c 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 年之前
local_proto.h c66ce150bb rasterlib: prototypes moved to rasterdefs.h 16 年之前
main.c f49ace06b1 homogenize keywords 12 年之前
r.random.html e437cd9f59 avoid caps HTML tags 13 年之前
random.c 1bfefa2d0d r.random: fix https://trac.osgeo.org/grass/ticket/1082 and https://trac.osgeo.org/grass/ticket/1874 12 年之前
support.c 1edef18d8e add Rast_command_history(); 13 年之前

README

/*********************************************************************
* GRASS program to create a raster map with non-zero data
* in random locations.
* Locations will be within non-zero data in the input layer.
* (unless -z option specified)
* If it necessary to restrict the locations to only some categories
* of the input map, a reclass map should be constructed first
* and used as input to this program.
*
* Number of random cells can be a fixed number or a percentage of cells.
*
* Resulting raster map consists of original cell values at the selected
* random locations and zero elsewhere.
*
* A sitefile may optionally be created.
*
* Usage:
* r.random [-iqz] input=name [raster_output=name] [sites_output=name] n=n[%]
*
* -i mean report number of total cells and null cells
* -q means run quietly
* -z means generate random locations for zero-data as well
*
*********************************************************************/