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
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
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
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