[GRASS-user] meaning of g.region zoom?

Hi all.
If I zoom to a small map full of nulls, with only a non-nulla area on one side, and
zoom back to the full extent, I do not see the difference:

g.region zoom=los_175_10k@paolo
g.region -p

projection: 99 (Transverse Mercator)
zone: 0
datum: rome40
ellipsoid: international
north: 4834913.78536118
south: 4821192.33020234
west: 1668983.89916058
east: 1685595.88381969
nsres: 100.156607
ewres: 100.07219674
rows: 137
cols: 166
cells: 22742

g.region zoom=dtm@PERMANENT
g.region -p

projection: 99 (Transverse Mercator)
zone: 0
datum: rome40
ellipsoid: international
north: 4834913.78536118
south: 4821192.33020234
west: 1668983.89916058
east: 1685595.88381969
nsres: 100.156607
ewres: 100.07219674
rows: 137
cols: 166
cells: 22742

Where am I wrong?
All the best.
--
Paolo Cavallini: http://www.faunalia.it/pc

Hi Paulo,

Have you tried g.region -d ?

ciao

milton

2009/12/30 Paolo Cavallini <cavallini@faunalia.it>

Hi all.
If I zoom to a small map full of nulls, with only a non-nulla area on one side, and
zoom back to the full extent, I do not see the difference:

g.region zoom=los_175_10k@paolo
g.region -p
projection: 99 (Transverse Mercator)
zone: 0
datum: rome40
ellipsoid: international
north: 4834913.78536118
south: 4821192.33020234
west: 1668983.89916058
east: 1685595.88381969
nsres: 100.156607
ewres: 100.07219674
rows: 137
cols: 166
cells: 22742
g.region zoom=dtm@PERMANENT
g.region -p
projection: 99 (Transverse Mercator)
zone: 0
datum: rome40
ellipsoid: international
north: 4834913.78536118
south: 4821192.33020234
west: 1668983.89916058
east: 1685595.88381969
nsres: 100.156607
ewres: 100.07219674
rows: 137
cols: 166
cells: 22742
===
Where am I wrong?
All the best.

Paolo Cavallini: http://www.faunalia.it/pc


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Paolo wrote:

If I zoom to a small map full of nulls, with only a
non-nulla area on one side, and
zoom back to the full extent, I do not see the difference:

fyi 'g.region zoom=' starts at the current region settings*,
so maybe try:

g.region rast=foo
g.region zoom=foo

* this lets you zoom in on individual clusters within the map

Hamish

Hamish ha scritto:

fyi 'g.region zoom=' starts at the current region settings*,
so maybe try:

g.region rast=foo
g.region zoom=foo

* this lets you zoom in on individual clusters within the map

There must be something wrong here:
g.region zoom=los_175_10k@paolo

now results in:

10647 paolo 40 0 221m 27m 8096 R 98 2.7 0:50.37 g.region

forever - more and more puzzled.
This both from qgis and from grass.
Anyone can confirm this behaviour?
Thanks.
--
Paolo Cavallini: http://www.faunalia.it/pc

Paolo Cavallini wrote:

Hamish ha scritto:
  

fyi 'g.region zoom=' starts at the current region settings*,
so maybe try:

g.region rast=foo
g.region zoom=foo

* this lets you zoom in on individual clusters within the map
    
There must be something wrong here:
g.region zoom=los_175_10k@paolo

now results in:

10647 paolo 40 0 221m 27m 8096 R 98 2.7 0:50.37 g.region
  

That looks like the output from 'ps' ...??
Here g.region zoom=... works OK both from the CLI and GUI, on Ubuntu 8.04 and 9.10.
Regards,
Micha

forever - more and more puzzled.
This both from qgis and from grass.
Anyone can confirm this behaviour?
Thanks.
  

Micha Silver ha scritto:

10647 paolo 40 0 221m 27m 8096 R 98 2.7 0:50.37 g.region
  

That looks like the output from 'ps' ...??

Yes (in fact, it is from top): CPU goes high, and stays like this indefinitely.

Here g.region zoom=... works OK both from the CLI and GUI, on Ubuntu
8.04 and 9.10.

So it must be a local problem - I'll check with a different location.
Thanks a lot.
--
Paolo Cavallini: http://www.faunalia.it/pc