[GRASS-dev] [GRASS GIS] #2062: r.fillnulls: Input map has no holes || No NULL cells found

GRASS GIS trac at osgeo.org
Tue Aug 27 09:10:08 PDT 2013


#2062: r.fillnulls: Input map has no holes || No NULL cells found
--------------------+-------------------------------------------------------
 Reporter:  zarch   |       Owner:  grass-dev@…              
     Type:  defect  |      Status:  new                      
 Priority:  normal  |   Milestone:  7.0.0                    
Component:  Raster  |     Version:  svn-trunk                
 Keywords:          |    Platform:  Linux                    
      Cpu:  x86-64  |  
--------------------+-------------------------------------------------------
 I'm trying to use r.fillnuls to fill a CELL map [0] with four categories.

 {{{
 G70> g.region rast=tree_rm_small -p  # set the region
 projection: 99 (Transverse Mercator)
 zone:       0
 datum:      osgb36
 ellipsoid:  airy
 north:      673614.75
 south:      672309.75
 west:       324718.25
 east:       326676
 nsres:      0.25
 ewres:      0.25
 rows:       5220
 cols:       7831
 cells:      40877820

 G70> r.stats -c -l input=tree_rm_small  # check that the map has NULLs
  100%
 1  7612219
 2  10576095
 3  10678651
 4  7654913
 * no data 4355942
 }}}

 But I got:

 {{{
 G70> r.fillnulls input=tree_rm_small output=tree_rm_small__fill
  100%
  100%
 ERROR: Input map has no holes. Check region settings.
 G70> r.fillnulls input=tree_rm_small output=tree_rm_small__fill
 method=linear
  100%
  100%
 ERROR: No NULL cells found in input raster.
 }}}

 How can I solve it? Any hints?

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



More information about the grass-dev mailing list