Anna Petrášová b64d9e63e0 rename section BUGS to KNOWN ISSUES in manuals 9 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 6627fa7784 Promote cell count to long 11 lat temu
creat_rand.c 498f194bcc Replace rand/random/lrand48/etc with lib/gis random number functions 10 lat temu
local_proto.h c66ce150bb rasterlib: prototypes moved to rasterdefs.h 15 lat temu
main.c e20347488f r.random: use standardized options (https://trac.osgeo.org/grass/ticket/2409) 10 lat temu
r.random.html b64d9e63e0 rename section BUGS to KNOWN ISSUES in manuals 9 lat temu
random.c 413a218aef r.random: set db error hander 10 lat temu
support.c 67014631cb Added missing checks for Vect_open_* return value to avoid potential segmentation fault 10 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
*
*********************************************************************/