[GRASS-user] random vector points from raster count layer?

Hamish hamish_b at yahoo.com
Fri May 23 22:29:49 EDT 2008

> I'm trying to display trees on my raster dem using
> v.trees3d and a 
> raster layer which gives me the number of trees in every
> 400x400m cell.  
> What I'm trying to do is create a point vector map that
> would have a 
> random distribution of points in every 400x400m based on my
> volume of 
> trees raster layer.   Can anybody suggest how I would do
> this?  I've been trying to use r.random but so far it's not
> generating what I want.

maybe try v.mkgrid + v.random.cover (from wiki addons) in some sort of loop, once for each 400x400 grid block.



More information about the grass-user mailing list