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

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