[GRASS-dev] Re: [GRASS GIS] #106: wxgrass: zoom to computational region does not respect resolution set with g.region

GRASS GIS trac at osgeo.org
Fri Mar 28 09:29:59 EDT 2008


#106: wxgrass: zoom to computational region does not respect resolution set with
g.region
--------------------------+-------------------------------------------------
  Reporter:  mlennert     |       Owner:  martinl                
      Type:  enhancement  |      Status:  assigned               
  Priority:  major        |   Milestone:  6.4.0                  
 Component:  Python       |     Version:  svn-trunk              
Resolution:               |    Keywords:  wxgrass resolution zoom
--------------------------+-------------------------------------------------
Comment (by martinl):

 From grass-dev ML:
 mbarton:
 > Martin has implemented something that I think is much more useful and
 > easier to understand, and that serves the same purpose. As mentioned
 > above, the display always fills the window and has a constant
 > resolution. However, the computational region is shown by a red box
 > outline. This means you can always tell the region in which map
 > modification operations will take place, without having a very
 > strange-looking map in the display window, with a lot of white space
 > around it.
 >

 mlennert:

 But that brings us back to my original response ("The issue is not only
 the extent, but also the resolution."). Yes, the red box is very useful
 (although the functionality is maybe a hidden - maybe the "show" text
 box should always be visible and read "show extent of computational
 region", but a visual information about the resolution is also very
 important. It has happened to me often enought that I launch a command
 which then takes much longer than expected, only to find out that the
 computational region's resolution was much higher than the display's.
 Having a mode which allows seeing the exact computational region
 settings is, thus, very helpful...No need to make it the default, and
 you could possibly hide it a bit to not confuse users, but IMHO, it
 should be an option for power users.

 ----

 For now I added new mode to the statusbar called "Comp. region". It shows
 extent and resolution of computational region settings. "Comp. extent"
 contains only checkbox to show computational extent outline in the
 display.

 See r30779.

 Sounds better?

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/106#comment:6>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list