[GRASS-dev] [GRASS GIS] #282: r.what in wxGUI should not depend on computational region

GRASS GIS trac at osgeo.org
Thu Sep 4 10:18:51 EDT 2008


#282: r.what in wxGUI should not depend on computational region
----------------------+-----------------------------------------------------
 Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  6.4.0                    
Component:  wxGUI     |     Version:  svn-develbranch6         
 Keywords:            |    Platform:  All                      
      Cpu:  All       |  
----------------------+-----------------------------------------------------
 r.what in wxGUI should not depend on computational region like it does.
 Example:

 1. In GRASS terminal set your region to something outside the raster map
 you are going to query, e.g.:

 {{{
 g.region n=2 e=2 w=1 s=1 res=1 -a
 }}}

 2. Add a raster map to manager.

 2. Right-click it > Zoom to selected map.

 3. Query anywhere within the map - r.what always returns NULL, in error.

 4. Now again in terminal set region to cover the whole map.

 5. Query again in wxGUI - now it works.

 GUI's region and computational region should be separate.

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


More information about the grass-dev mailing list