Anna Petrášová b64d9e63e0 rename section BUGS to KNOWN ISSUES in manuals 9 år sedan
..
Makefile d6700ffb2c Update LIBES, DEPENDENCIES from linkage database 15 år sedan
README db49180dd7 welcome to GRASS 7.0.svn 17 år sedan
count.c 6627fa7784 Promote cell count to long 11 år sedan
creat_rand.c 498f194bcc Replace rand/random/lrand48/etc with lib/gis random number functions 10 år sedan
local_proto.h c66ce150bb rasterlib: prototypes moved to rasterdefs.h 15 år sedan
main.c e20347488f r.random: use standardized options (https://trac.osgeo.org/grass/ticket/2409) 10 år sedan
r.random.html b64d9e63e0 rename section BUGS to KNOWN ISSUES in manuals 9 år sedan
random.c 413a218aef r.random: set db error hander 10 år sedan
support.c 67014631cb Added missing checks for Vect_open_* return value to avoid potential segmentation fault 10 år sedan

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