[GRASS-dev] Re: [GRASS GIS] #369: r.mapcalc not correctly determining null space around r.external data set

GRASS GIS trac at osgeo.org
Thu Dec 3 14:51:59 EST 2009


#369: r.mapcalc not correctly determining null space around r.external data set
----------------------+-----------------------------------------------------
  Reporter:  dickeya  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.4.0                    
 Component:  Raster   |     Version:  6.4.0 RCs                
Resolution:           |    Keywords:                           
  Platform:  Linux    |         Cpu:  x86-64                   
----------------------+-----------------------------------------------------
Changes (by dickeya):

  * version:  svn-develbranch6 => 6.4.0 RCs

Comment:

 Still seeing this problem - here is my exact workflow:

 r.external in=N61E043_small_nd.tif out=N61E043_small_nd
 g.region -a n=62.0087569444 s=60.9912430556 w=42.9912430556
 e=44.0087569444
 r.mapcalc "temp_null=if(isnull(N61E043_small_nd),1,null())"

 I should be seeing a continuous ring of nodata around the raster.  Instead
 I get the first and last row, and none of the first and last column
 (except those pixels in the first and last row).

 If I run r.in.gdal, the routine works as expected.

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


More information about the grass-dev mailing list