#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 hamish):

 without exploring the code to closely, perhaps what is happening is that
 the random points in real x,y,z space are more than 1 cell space apart
 from each other, but at the final rasterization step they trigger filling
 adjacent cells?

 {{{
 +------+
 |   .  |
 |      |
 |      |
 +------+
 |      |
 |      |
 | .    |
 +------+
 }}}


 But r.random.cells works on distance between the rows and columns, so
 perhaps that is wrong and it is comparing distance between cell centers.
 Further investigation would be needed to see at what stage the
 rasterization happens.


 Hamish

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

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to