[GRASSLIST:209] Random points inside differents areas

Luca Casagrande luca.casagrande at gmail.com
Fri Mar 17 07:48:22 EST 2006


Hi guys!
I have vector data with a lot of areas inside, and for each of those areas, is 
associated a value called "densita" inside the attribute tab.  Is there a way 
to add a number of random points in each area, number based on the "densita" 
parameter?  
For example (assuming the formula for the number of points=densita*10)

Area		densita
 1		   2
 2		   50

For the area number 1, I need 20 random points, for the number 2, 500 
points...

Thx for your ideas.
Luca

-- 
"E' molto più bello sapere qualcosa di tutto, che tutto di una cosa (Blaise 
Pascal)."

GENTOO-GIS Development Team
jabber: casagrande at jabber.linux.it

 




More information about the grass-user mailing list