[GRASS5] [bug #2786] (grass) d.zoomed in and out too much, now can't get back exactly

Hamish hamish_nospam at yahoo.com
Mon Dec 6 17:23:37 EST 2004


> > >this bug's URL: http://intevation.de/rt/webrt?serial_num=2786
> > >------------------------------------------------------------------
> > >
> > >Playing with g.zoom, after a while one wants to get back to the way
> > >everything was in the beginning. But there is no way other than
> > >d.mon stop=x1; g.region ...; d.mon x1
> > >So perhaps d.zoom could have a new -r: restore option, to restore
> > >the magnification/region used when the monitor was born.
> > 
> > Excellent idea. I happen to forget to save my starting region and
> > then getting exactly back to it is a pain. If possible - please.
> 
> Probably a long standing wish, but: Volunteer(s) needed...


? I'm not sure I fully understand the problem.


restore the default region: (stored in PERMANENT/DEFAULT_WIND)
g.region -d
d.redraw


or
g.region save=home
d.zoom
g.region home
d.redraw


or
d.zoom
g.region ...
d.redraw

?



Hamish




More information about the grass-dev mailing list