[GRASS-dev] Zooming issue in gis manager

Maciej Sieczka tutey at o2.pl
Wed Nov 1 17:09:56 EST 2006

Michael Barton wrote:
> To clarify a bit...
> In the "standard" mode, resolution and geometry are preserved by the display
> in all zooming.


Not really. The resolution is preserved *only* if -a flag is set in
g.region call in mapcanvas.tcl, lines 1068/1066. If this -a flag is
removed, the res is not preserved when you set WIND to match the gis.m
display (eg. instead of 30 you get 29.56552545). Try to reproduce that,
can you? And do you confirm my observation or not?

As to preserving the region extent - this is achieved only if the -a
flag in question is removed (however, the number of cols on the status
bar below still doesn't match, interestingly).

So we can't currently have both: the resolution and the number of rows
and cols to be preserved when setting WIND to match the gis.m display.
But we need both. Could we have them?


More information about the grass-dev mailing list