[GRASS-user] Randomly select points from existing vector?

Markus Neteler neteler at osgeo.org
Sun Jan 4 11:15:38 EST 2009


On Tue, Mar 11, 2008 at 4:46 PM, Ken Nussear <knussear at mac.com> wrote:
> Hi
>
> Trying to select 10 points at random from an existing vector. Not sure how
> to do it other than v.kcv where I divide the 750 points into 75 partitions
> and grab one of those. Is there a more efficient way?

>From >= GRASS 6.4 there is: v.extract:

v.extract help
...
  random   Number of random categories matching vector objects to extract

Best,
Markus (cleaning inbox)


More information about the grass-user mailing list