Details Ticket 2786


Comment | Reply | Take | Open


Serial Number 2786
Subject d.zoomed in and out too much, now can't get back exactly
Area grass5.7
Queue grass
Requestors jidanni@jidanni.org
Owner none
Status resolved
Last User Contact Sun Nov 20 12:35:44 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sun Nov 20 12:35:44 2005 (3 yr ago)
Created Mon Dec 6 07:01:04 2004 (4 yr ago)

Transaction History Ticket 2786


Mon, Dec 6 2004 07:01:04    Request created by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To grass-bugs@intevation.de
Subject d.zoomed in and out too much, now can't get back exactly
From Dan Jacobson <jidanni@jidanni.org>
Date Mon, 06 Dec 2004 11:34:13 +0800
Message-ID <87oeh8aymi.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
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.


Mon, Dec 6 2004 11:35:28    Mail sent by werchowyna@pf.pl  
Return-Path <werchowyna@pf.pl>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <000f01c4db7f$550a3b80$45c61d3e@eustahiush>
From "Maciek Sieczka" <werchowyna@pf.pl>
To "Request Tracker" <grass-bugs@intevation.de>, <grass5@grass.itc.it>
Cc <jidanni@jidanni.org>
References <20041206060104.D6163102BCB@lists.intevation.de>
Subject Re: [GRASS5] [bug #2786] (grass) d.zoomed in and out too much, now can't get back exactly
Date Mon, 6 Dec 2004 11:16:34 +0100
MIME-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-2"; reply-type=original
Content-Transfer-Encoding 7bit
X-Priority 3
X-MSMail-Priority Normal
X-Mailer Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.2180
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
From: "Request Tracker" <grass-bugs@intevation.de>
>From jidanni@jidanni.org  Mon Dec  6 07:01:04 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.

Maciek 


Mon, Dec 6 2004 13:22:16    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 6 Dec 2004 13:23:51 +0100
From Markus Neteler <neteler@itc.it>
To Maciek Sieczka <werchowyna@pf.pl>
Cc Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it, jidanni@jidanni.org
Subject Re: [GRASS5] [bug #2786] (grass) d.zoomed in and out too much, now can't get back exactly
Message-ID <20041206122351.GU22667@thuille.itc.it>
Mail-Followup-To Maciek Sieczka <werchowyna@pf.pl>, Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it, jidanni@jidanni.org
References <20041206060104.D6163102BCB@lists.intevation.de> <000f01c4db7f$550a3b80$45c61d3e@eustahiush>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <000f01c4db7f$550a3b80$45c61d3e@eustahiush>
User-Agent Mutt/1.4.1i
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Mon, Dec 06, 2004 at 11:16:34AM +0100, Maciek Sieczka wrote:
> From: "Request Tracker" <grass-bugs@intevation.de>
> >From jidanni@jidanni.org  Mon Dec  6 07:01:04 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...

Markus


Mon, Dec 6 2004 23:24:04    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 7 Dec 2004 11:23:37 +1300
From Hamish <hamish_nospam@yahoo.com>
To jidanni@jidanni.org
Cc werchowyna@pf.pl, grass-bugs@intevation.de, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2786] (grass) d.zoomed in and out too much, now can't get back exactly
Message-Id <20041207112337.55d84834.hamish_nospam@yahoo.com>
In-Reply-To <20041206122351.GU22667@thuille.itc.it>
References <20041206060104.D6163102BCB@lists.intevation.de> <000f01c4db7f$550a3b80$45c61d3e@eustahiush> <20041206122351.GU22667@thuille.itc.it>
X-Mailer Sylpheed version 1.0.0beta3 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> > >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


Tue, Dec 7 2004 07:13:48    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 06 Dec 2004 23:13:46 -0700
From Michael Barton <michael.barton@asu.edu>
Subject Re: [GRASS5] [bug #2786] (grass) d.zoomed in and out too much, now can't get back exactly
In-reply-to <20041207112337.55d84834.hamish_nospam@yahoo.com>
To Hamish <hamish_nospam@yahoo.com>, jidanni@jidanni.org
Cc werchowyna@pf.pl, grass-bugs@intevation.de, grass5@grass.itc.it
Message-id <BDDA982A.606F%michael.barton@asu.edu>
MIME-version 1.0
Content-type text/plain; charset=US-ASCII
Content-transfer-encoding 7bit
User-Agent Microsoft-Entourage/11.1.0.040913
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Hamish,

As I understand the wish, it is for a more or less automatic way of doing
the following (from your post below):

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

This only works if you remember to save the region to "home" before zooming.
ArcView and MapInfo both have a 'return to previous zoom' command. I also
would find it handy--though because of the ability of GRASS to save a named
region this function wouldn't be at the top of my wish list.

In GRASS, this would require d.zoom to execute a g.region save=temp_region
each time it resets the region. Then a 'zoom to previous' could call up the
saved temporary region and reset the region accordingly.

Michael


On 12/6/04 3:23 PM, "Hamish" <hamish_nospam@yahoo.com> wrote:

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

____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ  85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>


Tue, Dec 7 2004 15:44:43    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 7 Dec 2004 15:44:38 +0100
From Markus Neteler <neteler@itc.it>
To Michael Barton <michael.barton@asu.edu>
Cc Hamish <hamish_nospam@yahoo.com>, jidanni@jidanni.org, werchowyna@pf.pl, grass-bugs@intevation.de, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2786] (grass) d.zoomed in and out too much, now can't get back exactly
Message-ID <20041207144438.GC495@thuille.itc.it>
Mail-Followup-To Michael Barton <michael.barton@asu.edu>, Hamish <hamish_nospam@yahoo.com>, jidanni@jidanni.org, werchowyna@pf.pl, grass-bugs@intevation.de, grass5@grass.itc.it
References <20041207112337.55d84834.hamish_nospam@yahoo.com> <BDDA982A.606F%michael.barton@asu.edu>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <BDDA982A.606F%michael.barton@asu.edu>
User-Agent Mutt/1.4.1i
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Mon, Dec 06, 2004 at 11:13:46PM -0700, Michael Barton wrote:
> Hamish,
> 
> As I understand the wish, it is for a more or less automatic way of doing
> the following (from your post below):
> 
> g.region save=home
> d.zoom
> g.region home
> d.redraw
> 
> This only works if you remember to save the region to "home" before zooming.
> ArcView and MapInfo both have a 'return to previous zoom' command. I also

... also QGIS [1] offers this feature:
Using QGIS with new GDAL/GRASS plugin [2], you can enjoy most things which
are missing in the GRASS native display system (vector line thickness,
vector legend, 'return to previous zoom' etc).

Markus

[1] http://qgis.org
[2] http://gdal.org/frmt_grass.html
    See "NOTES on driver variations"


Tue, Dec 7 2004 23:35:58    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Wed, 8 Dec 2004 11:35:30 +1300
From Hamish <hamish_nospam@yahoo.com>
To Michael Barton <michael.barton@asu.edu>
Cc jidanni@jidanni.org, werchowyna@pf.pl, grass-bugs@intevation.de, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2786] (grass) d.zoomed in and out too much, now can't get back exactly
Message-Id <20041208113530.3c313362.hamish_nospam@yahoo.com>
In-Reply-To <BDDA982A.606F%michael.barton@asu.edu>
References <20041207112337.55d84834.hamish_nospam@yahoo.com> <BDDA982A.606F%michael.barton@asu.edu>
X-Mailer Sylpheed version 1.0.0beta3 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> As I understand the wish, it is for a more or less automatic way of
> doing the following (from your post below):
> 
> g.region save=home
> d.zoom
> g.region home
> d.redraw
> 
> This only works if you remember to save the region to "home" before
> zooming. ArcView and MapInfo both have a 'return to previous zoom'
> command. I also would find it handy--though because of the ability of
> GRASS to save a named region this function wouldn't be at the top of
> my wish list.
> 
> In GRASS, this would require d.zoom to execute a g.region
> save=temp_region each time it resets the region. Then a 'zoom to
> previous' could call up the saved temporary region and reset the
> region accordingly.

to refine:

d.zoom would start out with
cp $MAPSET/WIND $MAPSET/OLD_WIND

and then do its thing & exit.

then we would need 'd.zoom -r' or 'g.region -r' to restore.

(job for someone else)


Hamish


Wed, Dec 8 2004 00:05:34    Mail sent by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To Hamish via RT <grass-bugs@intevation.de>
Subject Re: [bug #2786] (grass) d.zoomed in and out too much, now
References <20041206222405.037B1102C0F@lists.intevation.de>
From Dan Jacobson <jidanni@jidanni.org>
Date Tue, 07 Dec 2004 07:28:07 +0800
Message-ID <878y8bgg6w.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.2 tagged_above=-999.0 required=3.0 tests=BAYES_00, DATE_IN_PAST_12_24
X-Spam-Level
H> restore the default region: (stored in PERMANENT/DEFAULT_WIND)
H> g.region -d
H> d.redraw

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

OK good. Note this on d.zoom/description.html .


Sun, Nov 20 2005 12:35:05    Area changed to grass5.7 by msieczka  
Sun, Nov 20 2005 12:35:44    Status changed to resolved by msieczka  
Sun, Nov 20 2005 12:35:44    Mail sent by msieczka  
d.zoom has an -r switch now to "Return to previous zoom"

closing it
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request