[GRASS-dev] [GRASS GIS] #1506: r.to.rast3: support for float datatype

GRASS GIS trac at osgeo.org
Wed Dec 7 03:07:07 EST 2011


#1506: r.to.rast3: support for float datatype
-------------------------+--------------------------------------------------
 Reporter:  hamish       |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  6.5.0                    
Component:  Raster3D     |     Version:  svn-trunk                
 Keywords:  r.to.rast3   |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 Hi,

 3D rasters can either be 'float's or 'double's. But r.to.rast3 always
 creates doubles. For a 3D raster with many many cells this can be a rather
 expensive problem.


 thanks,
 Hamish

 ps- why no raster 3d support for integers? (e.g. category == geologic rock
 type)

 pps- why not FCELL,DCELL to match 2D rasters? or are they anachronisms
 from an era when IEEE FPs were still in strong competition with IBM's FP,
 etc?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1506>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list