[GRASS5] [bug #4144] (grass) Gis.m display fails to update to new region changes with g.region

Moritz Lennert mlennert at club.worldonline.be
Wed Mar 8 03:19:38 EST 2006


Michael Barton wrote:
> I could put in the help text "zoom to current global region setting" Would
> that help or confuse?

I don't know if "global" is clear in this context, as it might be 
interpreted as the whole (default) region. But I don't have any better 
idea (except for using g.region in the text...).

Moritz

> ______________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution and Social Change
> Arizona State University
> Tempe, AZ  85287-2402
> USA
> 
> voice: 480-965-6262; fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
> 
> 
> 
>>From: Moritz Lennert <mlennert at club.worldonline.be>
>>Date: Tue, 07 Mar 2006 10:24:59 +0100
>>To: Maciek Sieczka <werchowyna at epf.pl>
>>Cc: Request Tracker <grass-bugs at intevation.de>, <grass5 at grass.itc.it>, Michael
>>Barton <michael.barton at asu.edu>
>>Subject: Re: [GRASS5] [bug #4144] (grass) Gis.m display fails to update to new
>>region changes with g.region
>>
>>Maciek Sieczka wrote:
>>
>>>On Mon,  6 Mar 2006 19:34:59 +0100 (CET)
>>>Request Tracker <grass-bugs at intevation.de> wrote:
>>>
>>>
>>>
>>>>this bug's URL: http://intevation.de/rt/webrt?serial_num=4144
>>>>-------------------------------------------------------------------------
>>>>
>>>>Subject: Gis.m display fails to update to new region changes with
>>>>g.region
>>>>
>>>>Platform: GNU/Linux/x86
>>>>grass obtained from: Trento Italy site
>>>>grass binary for platform: Downloaded precompiled Binaries
>>>>GRASS Version: Grass 6.1 cvs binary snapshot 2006-03-04
>>>>
>>>>Gis.m doesn't update the display to new region extents on subsequesnt
>>>>redraws.
>>>>
>>>>Ex: If I zoom into a small subset of my currently displayed raster,
>>>>and type g.region -p:
>>>>
>>>>projection: 1 (UTM)
>>>>zone:       20
>>>>datum:      ** unknown (default: WGS84) **
>>>>ellipsoid:  wgs84
>>>>north:      5174033.36548
>>>>south:      5172592.47662
>>>>west:       634545.579594
>>>>east:       635650.346057
>>>>nsres:      5.18305345
>>>>ewres:      4.8243077
>>>>rows:       278
>>>>cols:       229
>>>>
>>>>Now set region to full extent of my raster:
>>>>
>>>>g.region rast=myraster
>>>>
>>>>projection: 1 (UTM)
>>>>zone:       20
>>>>datum:      ** unknown (default: WGS84) **
>>>>ellipsoid:  wgs84
>>>>north:      5175138.55197738
>>>>south:      5166979.86985776
>>>>west:       628088.36633083
>>>>east:       652649.9283519
>>>>nsres:      5.51262305
>>>>ewres:      5.02589769
>>>>rows:       1480
>>>>cols:       4887
>>>>
>>>>But redrawing shows the same extent as the first instance when I was
>>>>zoomed in, despite g.region showing a larger extent.
>>>
>>>
>>>After g.region press "Zoom to current region" in Map Display window,
>>>then redraw. Is it OK then?
>>
>>Maybe this should be changed to something like "zoom to g.region
>>setting" to make it clear that this means the current region set
>>globally in GRASS and not the current region of the monitor.
>>
>>Moritz
> 
> 




More information about the grass-dev mailing list