[GRASS-dev] [bug #2962] (grass) v.digit - zooming changes resolution

Maciek Sieczka via RT grass-bugs at intevation.de
Thu Jan 18 11:41:33 EST 2007


Re-opening the bug.

mbarton wrote (Mon, Aug 28 2006 20:11:42):

> This now only happens in explore mode (map fills display) - intentionally.
> In normal mode this does not happen.

This is not correct:

1. v.digit uses X monitors, so it has nothing to do with gis.m's "explore" and
"constrained" zooming modes

2. v.digit still changes the region resolution while zooming, see:

a) $ g.region -g
n=4193404.5
s=4193005.5
w=574902
e=575301
nsres=0.25
ewres=0.25
rows=1596
cols=1596
cells=2547216

b) $ v.digit srtm_sample &

c) zoom in once in v.digit

d) $ g.region -g
n=4193223.21161826
s=4193042.75103734
w=575012.9253112
e=575236.43153527
nsres=0.2499454
ewres=0.25000696
rows=722
cols=894
cells=645468

As you can see the region resolution has changed during the v.digit session.
Although the initial region will be restored after closing v.digit, the point
is that zooming in v.digit should not change the region resolution at all
(probably it should not touch the region extent too).

Maciek


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




More information about the grass-dev mailing list