[GRASS-dev] Re: [GRASS GIS] #763: r.statistics method=distribution: no percentages for negative basemap values

GRASS GIS trac at osgeo.org
Sat Sep 11 00:54:56 EDT 2010


#763: r.statistics method=distribution: no percentages for negative basemap
values
--------------------------+-------------------------------------------------
 Reporter:  peifer        |       Owner:  grass-dev@…              
     Type:  defect        |      Status:  new                      
 Priority:  normal        |   Milestone:  6.4.0                    
Component:  Raster        |     Version:  6.4.0 RCs                
 Keywords:  r.statistics  |    Platform:  Unspecified              
      Cpu:  x86-32        |  
--------------------------+-------------------------------------------------
Changes (by hamish):

  * keywords:  => r.statistics


Comment:

 Replying to [comment:4 glynn]:
 > Prior to 5.x, category zero was often used as a no-data value.
 > 5.x added support for a distinguished null value (as well as
 > floating-point), but some code still follows the old zero-is-null
 > convention.
 ...
 > Given the large number of occurrences of G_get_map_row[_nomask]()
 > in 6.4, I can't help wondering whether all of the modules which
 > were converted to use Rast_get_c_row() in 7.0 were actually
 > converted correctly, or whether the function call was changed
 > without any effort made to handle nulls.

 as a test point, r.surf.contour in 6.4 still treats 0 as NULL (and is not
 FP-aware), so if there are problems in the transition, they'll probably
 show up there.

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



More information about the grass-dev mailing list