Details Ticket 4144


Comment | Reply | Take | Open


Serial Number 4144
Subject Gis.m display fails to update to new region changes with g.region
Area grass6
Queue grass
Requestors epatton@nrcan.gc.ca
Owner none
Status resolved
Last User Contact Tue Mar 7 10:25:04 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Mar 8 05:50:39 2006 (2 yr ago)
Created Mon Mar 6 19:34:59 2006 (2 yr ago)

Transaction History Ticket 4144


Mon, Mar 6 2006 19:34:59    Request created by guest  
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.


~ Eric Patton
Mon, Mar 6 2006 21:34:25    Mail sent by werchowyna@epf.pl  
Return-Path <werchowyna@epf.pl>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 6 Mar 2006 21:34:17 +0100
From Maciek Sieczka <werchowyna@epf.pl>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #4144] (grass) Gis.m display fails to update to new region changes with g.region
Message-Id <20060306213417.1a617ef5.werchowyna@epf.pl>
In-Reply-To <20060306183459.7FEAF1006AF@lists.intevation.de>
References <20060306183459.7FEAF1006AF@lists.intevation.de>
X-Mailer Sylpheed version 2.1.1 (GTK+ 2.8.6; i486-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Mon,  6 Mar 2006 19:34:59 +0100 (CET)
Request Tracker <grass-bugs@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?

Maciek

---------------------
http://www.visanen.pl/  - Zapakujemy wszystko!
Produkcja i dystrybucja torby foliowe, papierowe, reklam?wki, opakowania kartonowe,
ekskluzywne pude?ka


Tue, Mar 7 2006 05:13:37    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 06 Mar 2006 21:13:33 -0700
From Michael Barton <michael.barton@asu.edu>
Subject Re: [GRASS5] [bug #4144] (grass) Gis.m display fails to update to new region changes with g.region
In-reply-to <20060306183459.7FEAF1006AF@lists.intevation.de>
To Paolo Cavallini via RT <grass-bugs@intevation.de>, grass5@grass.itc.it
Message-id <C032567D.9BFB%michael.barton@asu.edu>
MIME-version 1.0
Content-type text/plain; charset=US-ASCII
Content-transfer-encoding 7bit
User-Agent Microsoft-Entourage/11.2.1.051004
Thread-Topic [GRASS5] [bug #4144] (grass) Gis.m display fails to update to new region changes with g.region
Thread-Index AcZBnX9qviFWAq2QEdqBpwAKlW/i4A==
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
As Maciek has replied, this is a 'feature' not a bug. Running g.region from
the command line or GUI will make a generic region setting. But in the new
GIS Manager, each map display has its own region setting (so each map
display can a different zoom).

So it's necessary to have a 'zoom to current region' button to zoom a
particular map display to the setting made by running g.region generically.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: Request Tracker <grass-bugs@intevation.de>
> Reply-To: Request Tracker <grass-bugs@intevation.de>
> Date: Mon,  6 Mar 2006 19:34:59 +0100 (CET)
> To: <grass5@grass.itc.it>
> Subject: [GRASS5] [bug #4144] (grass) Gis.m display fails to update to new
> region changes with g.region
> 
> 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.
> 
> 
> ~ Eric Patton
> 
> 
> -------------------------------------------- Managed by Request Tracker
> 


Tue, Mar 7 2006 08:22:38    Status changed to resolved by msieczka  
Tue, Mar 7 2006 08:22:38    Mail sent by msieczka  
Closing it.

Maciek
Tue, Mar 7 2006 10:25:04    Mail sent by mlennert@club.worldonline.be  
Return-Path <mlennert@club.worldonline.be>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <440D516B.3060809@club.worldonline.be>
Date Tue, 07 Mar 2006 10:24:59 +0100
From Moritz Lennert <mlennert@club.worldonline.be>
User-Agent Debian Thunderbird 1.0.7 (X11/20051017)
X-Accept-Language en-us, en
MIME-Version 1.0
To Maciek Sieczka <werchowyna@epf.pl>
Cc Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it, Michael Barton <michael.barton@asu.edu>
Subject Re: [GRASS5] [bug #4144] (grass) Gis.m display fails to update to new region changes with g.region
References <20060306183459.7FEAF1006AF@lists.intevation.de> <20060306213417.1a617ef5.werchowyna@epf.pl>
In-Reply-To <20060306213417.1a617ef5.werchowyna@epf.pl>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Maciek Sieczka wrote:
> On Mon,  6 Mar 2006 19:34:59 +0100 (CET)
> Request Tracker <grass-bugs@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


Tue, Mar 7 2006 10:25:04    Status changed to open by _rt_system  
Wed, Mar 8 2006 05:50:39    Status changed to resolved by mbarton  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request