Martin Landa 25b63e75a6 use G_FLG_V_TOPO (do not build topology) 13 lat temu
..
Makefile d6700ffb2c Update LIBES, DEPENDENCIES from linkage database 15 lat temu
README db49180dd7 welcome to GRASS 7.0.svn 17 lat temu
count.c df4d81abd4 Move raster-specific functions from lib/gis to lib/raster: 15 lat temu
creat_rand.c 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 lat temu
local_proto.h c66ce150bb rasterlib: prototypes moved to rasterdefs.h 16 lat temu
main.c 25b63e75a6 use G_FLG_V_TOPO (do not build topology) 13 lat temu
r.random.html e437cd9f59 avoid caps HTML tags 13 lat temu
random.c b48a16f17c gislib: define G_OPT_DB_KEYCOLUMN and GV_KEY_COLUMN 14 lat temu
support.c 1edef18d8e add Rast_command_history(); 13 lat temu

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