[GRASS-dev] [GRASS GIS] #1976: r.mapcalc: Allow rounding of floating numbers

GRASS GIS trac at osgeo.org
Wed May 21 05:55:45 PDT 2014


#1976: r.mapcalc: Allow rounding of floating numbers
-------------------------+--------------------------------------------------
 Reporter:  pvanbosgeo   |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Raster       |     Version:  unspecified              
 Keywords:  r.mapcalc    |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by neteler):

 Replying to [comment:7 pvanbosgeo]:
 > The explanations for round(x,y) and round(x,y,z) in the r.mapcalc help
 file are perhaps not immediately clear (but that might be me). Maybe it is
 possible to get some examples in the help file?

 An example for each round(x,y) and round(x,y,z) would be appreciated (if
 here, I am
 happy to add them the manual).

 E.g. convert degree Celsius map/floating point to 10*degC (like BIOCLIM)
 as integer?

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



More information about the grass-dev mailing list