Hi. I missed that r.random :) It seems to do what I need. I just need to
understand a bit more what is the COVER parameter
Thanks nikos
Nikos Alexandris wrote:
António Rocha:
Hi there
I need to randomly select non-null cells from a given map. I tried
r.random.cells but I cannot define a maximum number random cells and
some selected random cells are not valid values in my map. is there any
other function to randomly select cells from a raster?
Doesn't "r.random" (not "r.random.cells") work? I think it works on/for non-
NULL cells.
In case r.random.cells and its capabilities are required, couldn't you just
create a non-NULL MASK and limit its operation as you wish?
Nikos
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5163 (20100601) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5163 (20100601) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user