[GRASS-dev] [GRASS GIS] #1996: r.random.cells not working correctly when min distance is < 0.1

GRASS GIS trac at osgeo.org
Wed Jun 5 04:08:50 PDT 2013


#1996: r.random.cells not working correctly when min distance is < 0.1
----------------------------+-----------------------------------------------
 Reporter:  pvanbosgeo      |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  7.0.0                    
Component:  Raster          |     Version:  svn-trunk                
 Keywords:  r.random.cells  |    Platform:  Unspecified              
      Cpu:  Unspecified     |  
----------------------------+-----------------------------------------------

Comment(by pvanbosgeo):

 The region's resolution is  0.008333. Good point about different distances
 latitudinal and longitudinal. In my specific case it doesn't really matter
 though, I just want to avoid to select any two cells that are e.g., less
 then 2 cells apart). A minimum distance of 0.09 should take care of that,
 shouldn't it. However, the resulting layer does still contain plenty of
 neighboring cells selected (see attached image).

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



More information about the grass-dev mailing list