[GRASS-dev] [GRASS GIS] #1766: unable to save display of g.rast.num

GRASS GIS trac at osgeo.org
Mon Oct 22 22:25:04 PDT 2012


#1766: unable to save display of g.rast.num
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  7.0.0                    
Component:  Default      |     Version:  svn-trunk                
 Keywords:  r.rast.num   |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 I just learned that I can no longer save a display of cell number using
 d.rast.num in GRASS 7. I know this worked for a talk I gave earlier this
 year. Now it does not.

 I get a bogus error about the region being too large. But the region it
 gives is NOT the display region, the computational region (matches the
 display region in this case), or even the size of the raster map.

 Here is an example using the elevation raster from the sc_08 data set.
 I've reduced the computational region and display region (and have them
 matched) in order to display cell numbers. And the display is constrained
 to the computational region (it must be to display cell numbers). So here
 is what happens. Note the size of the region and the error.

 {{{

 Command 'd.rast.num map=movwin_elev_max at spatialtech2012'
 failed
 Details: Current region size: 722 rows X 973 cols
 Your current region setting may be too large. Cells
 displayed on your graphics window may be too small for cell
 category number to be visible.
 (Mon Oct 22 22:13:51 2012)
 g.region -p
 projection: 99 (Lambert Conformal Conic)
 zone:       0
 datum:      nad83
 ellipsoid:  a=6378137 es=0.006694380022900787
 north:      224062.105333
 south:      223987.185037
 west:       633201.322138
 east:       633302.184365
 nsres:      10.70289943
 ewres:      10.0862227
 rows:       7
 cols:       10
 cells:      70

 }}}

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



More information about the grass-dev mailing list