[GRASS-dev] [GRASS GIS] #2032: r.mapcalc does not always respect MASK

GRASS GIS trac at osgeo.org
Mon Jul 15 08:09:36 PDT 2013


#2032: r.mapcalc does not always respect MASK
-------------------------+--------------------------------------------------
 Reporter:  pvanbosgeo   |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Raster       |     Version:  unspecified              
 Keywords:  r.mapcalc    |    Platform:  Linux                    
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 If I run:

 {{{
 r.mask raster=mymask
 r.mapcalc "test1 = 1"
 r.mapcalc "test2 = test1"
 r.mask -r
 }}}

 The layer ''test1'' has value 1 for all raster cells within the current
 region. In layer ''test2'' only cells within the masked area have the
 value 1, cells outside the mask have nodata, as I would expect.

 Running GRASS 7.0 rv 57144 on Ubuntu 13.04

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



More information about the grass-dev mailing list