[GRASS-dev] Re: [GRASS GIS] #229: v.random: add random sampling from vector points map

GRASS GIS trac at osgeo.org
Wed Oct 15 07:43:46 EDT 2008


#229: v.random: add random sampling from vector points map
--------------------------+-------------------------------------------------
  Reporter:  neteler      |       Owner:  grass-dev at lists.osgeo.org
      Type:  enhancement  |      Status:  closed                   
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  default      |     Version:  svn-trunk                
Resolution:  fixed        |    Keywords:  vector                   
  Platform:  All          |         Cpu:  All                      
--------------------------+-------------------------------------------------
Changes (by neteler):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Maris wrote:
 > v.extract now supports extraction of N random categories matching vector
 features.
 > To extract N points, simply provide random=N option.
 > Current implementation has one small(?) problem - it operates on CAT's
 > and not feature ID's and thus will extract ALL features matching
 > randomly selected CAT values.

 He implemented it in r33639.
 Tested and works fine.

 Thanks, Maris,

 Markus

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/229#comment:2>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list