[GRASS5] [bug #4065] (grass) gis.m: displaying a map automatically switches resolution back to default

Request Tracker grass-bugs at intevation.de
Tue Feb 7 06:24:57 EST 2006


this bug's URL: http://intevation.de/rt/webrt?serial_num=4065
-------------------------------------------------------------------------

Subject: gis.m: displaying a map automatically switches resolution back to default

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060207

Using gis.m I get the following:

GRASS 6.1.cvs (ESPON):~ > g.region -p
projection: 99 (Lambert Azimuthal Equal Area)
zone:       0
datum:      etrs89
ellipsoid:  grs80
north:      2396151
south:      -1864119
west:       -3717942
east:       2583415
nsres:      1
ewres:      1
rows:       4260270
cols:       6301357

GRASS 6.1.cvs (ESPON):~ > g.region nsres=10000 ewres=10000
GRASS 6.1.cvs (ESPON):~ > g.region -p
projection: 99 (Lambert Azimuthal Equal Area)
zone:       0
datum:      etrs89
ellipsoid:  grs80
north:      2396151
south:      -1864119
west:       -3717942
east:       2583415
nsres:      10000.63380282
ewres:      10002.15396825
rows:       426
cols:       630

Now click on "Display active layers in current region" button:

GRASS 6.1.cvs (ESPON):~ > PNG: GRASS_TRUECOLOR status: TRUE
PNG: collecting to file: dispmon_1.ppm,
     GRASS_WIDTH=865, GRASS_HEIGHT=585
Graphics driver [gism] started
Monitor 'gism' terminated

and resolution has automatically (and before map is drawn) been set back to default:

GRASS 6.1.cvs (ESPON):~ > g.region -p
projection: 99 (Lambert Azimuthal Equal Area)
zone:       0
datum:      etrs89
ellipsoid:  grs80
north:      2396151
south:      -1864119
west:       -3717942
east:       2583415
nsres:      1
ewres:      1
rows:       4260270
cols:       6301357

(I know the default resolution setting here is not very sensible, but that is not the point ;-) )

Moritz

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list