Re: [GRASS-dev] what does zoom= do?

2008-01-28 Thread Glynn Clements
Michael Barton wrote: > With -a, g.region will slightly adjust the extents (instead of the > resolution) to come up with an integer number or rows and columns as > close as possible to the selected extents while exactly maintaining > the specified resolution. It does a bit more than that.

Re: [GRASS-dev] what does zoom= do?

2008-01-27 Thread Hamish
> Glynn: > > It would be possible to implement the -a flag unconditionally, Hamish: > I prefer to use '-a' on an as-needed basis. ... > g.region n=9975 s=25 w=25 e=9975 res=50 > # ** -a at this step would align to "00" and "50" not "25" and "75" I was reading 'unconditionally', as meaning "alway

Re: [GRASS-dev] what does zoom= do?

2008-01-27 Thread Hamish
Hamish: > Now what does 'g.region align=' do? Michael: > This one I can answer. When you zoom, g.region has to maintain an > integer number of rows and columns. Without -a, it will find the > nearest integer for the rows and columns given the extents and > resolution specified. Then it will

Re: [GRASS-dev] what does zoom= do?

2008-01-27 Thread Michael Barton
On Jan 27, 2008, at 9:07 PM, [EMAIL PROTECTED] wrote: Now what does 'g.region align=' do? Hamish This one I can answer. When you zoom, g.region has to maintain an integer number of rows and columns. Without -a, it will find the nearest integer for the rows and columns given the extent

Re: [GRASS-dev] what does zoom= do?

2008-01-27 Thread Hamish
> > Michael Barton wrote: > > > What does zoom= do in g.region? > > > > > > I tried a couple tests and it seemed to have no effect at all. Hamish: > > say you have a mostly NULL map with some data in the middle. > > 'g.region zoom=rastermap' first does like 'g.region rast=' then > > shrinks in on

Re: [GRASS-dev] what does zoom= do?

2008-01-27 Thread Markus Neteler
On Jan 26, 2008 10:29 PM, Hamish <[EMAIL PROTECTED]> wrote: > Michael Barton wrote: > > What does zoom= do in g.region? > > > > I tried a couple tests and it seemed to have no effect at all. > > say you have a mostly NULL map with some data in the middle. > 'g.region zoom=rastermap' first does like

Re: [GRASS-dev] what does zoom= do?

2008-01-26 Thread Hamish
Michael Barton wrote: > What does zoom= do in g.region? > > I tried a couple tests and it seemed to have no effect at all. say you have a mostly NULL map with some data in the middle. 'g.region zoom=rastermap' first does like 'g.region rast=' then shrinks in on all sides until it hits some data.

[GRASS-dev] what does zoom= do?

2008-01-26 Thread Michael Barton
What does zoom= do in g.region? I tried a couple tests and it seemed to have no effect at all. Michael C. Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution & Social Change Center for Social Dynamics & Complexity Arizona State U