[GRASS-dev] [bug #2962] (grass) v.digit - zooming changes resolution

Hamish hamish_nospam at yahoo.com
Mon Jul 10 02:55:48 EDT 2006


Maciek Sieczka wrote:

> > is this still an issue?
> > Hamish was working on that.
> 
> Still a problem. See:
> 
> $ g.region -p
> projection: 0 (x,y)
> zone:       0
> north:      10000
> south:      10
> west:       50
> east:       5000
> nsres:      10
> ewres:      10
> rows:       999
> cols:       495
> 
> $ v.digit map1&
> 
>   (a single "Zoom out" click)
> 
> $ g.region -p
> projection: 0 (x,y)
> zone:       0
> north:      12068.929
> south:      -2058.929
> west:       -975.145
> east:       6025.145
>             ^^^
>             those should be alligned to multiple 10
> 
> nsres:      9.99848408
> ewres:      10.00041429
>             ^^^
>             those should be equal 10
> 
> rows:       1413
> cols:       700


are you using the latest CVS??? It should restore the starting region on
(normal) exit.


This bug should be kept open as the v.digit code should a) not be
changing the WIND file (if possible with mixed Tcl + C) and b) use
"g.region -a" like code when zooming so as not to corrupt background
raster resampling.


Hamish




More information about the grass-dev mailing list