[GRASS5] [bug #3613] (grass) g.region vect=frame: bottom part of the

Hamish hamish_nospam at yahoo.com
Wed Sep 7 20:48:02 EDT 2005


> this bug's URL: http://intevation.de/rt/webrt?serial_num=3613
> ---------------------------------------------------------------------
> 
> Subject: g.region vect=frame: bottom part of the 
> 
> Platform: GNU/Linux/i386
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: cvs 07.09.2005
> 
> I can't see the bottom of my vector "frame" although I should, as I
> used "g.region vect=frame":
> 
> http://www.biol.uni.wroc.pl/sieczka/udostepnione/gregion/g.region_vect.png
> 
> Surprisingly, I have to subsequently run "g.region s=s-96" in order to
> see my whole "frame":
> 
> http://www.biol.uni.wroc.pl/sieczka/udostepnione/gregion/g.region_vect_s.png
> 
> What's that? I've been having this problem with any vector file, this
> one is only an example. This bug has been present since Grass 5.7. I'm
> using a Grass default x monitor window size here.

If you resize the display monitor does it fix itself? If so, probably an
off-by-one error due to casting a double to an int without adding 0.5 to
take care of rounding. (it just chops off the decimal place)

There were a few of these that Glynn (& partly myself) fixed a long long
time ago, it is likely more remain (e.g. in d.barscale, d.rast.edit).

I am not surprised at all to see this, glad you have found a work
around.

also try splitting the screen up into four equal quadrants with d.frame
and see what happens.



Hamish




More information about the grass-dev mailing list