[GRASS-dev] Re: New installation for wxPython GUI

Michael Barton michael.barton at asu.edu
Wed Aug 9 00:46:09 EDT 2006


Just tried it on a new Debian installation of one of my students today. He
compiled wxPython from source today.

Zoom works OK. Pan works but flickers a lot. Window resizing causes the
window to blank. 

I'd like to try it on our Fedora Core 4 workstation too.

For the pan, there is a slightly different kind of bitmap drag to try. If
that doesn't work, I guess we'll have to try a buffered device context and
see if it helps.

Window resizing uses image scaling to give a visual image of the shrinking
image during resizing. After resizing stops, GRASS (render.py) re-renders
the image to fit the new window size. We can turn off image scaling and see
what happens there.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



> From: Yann Chemin <ychemin at gmail.com>
> Date: Wed, 9 Aug 2006 10:14:37 +0700
> To: Michael Barton <michael.barton at asu.edu>, Grass Developers List
> <grass-dev at grass.itc.it>
> Subject: Re: New installation for wxPython GUI
> 
> Works nicely on my system!
> 
> About "Zoom in" behaviour, i can replicate the reason why it displays
> a blank screen.
> 
> 1-type d.rast elevation.dem
> 2-click in any point of the elevation map
> 3-becomes blank screen
> 
> Now, here is the catch, if instead you try;
> 1-type d.rast elevation.dem
> 2-POINT and DRAG to create a (invisible on my computer) box in any
> AREA of the elevation map
> 3-map zooms in properly
> 
> So it must be that "zom in" functionality should be allowed to zoom in
> by factor X (2?) if only a click in a point is made, or something like
> that...
> 
> y
> 
> 
> On 09/08/06, Michael Barton <michael.barton at asu.edu> wrote:
>> I figured out how to run gism.py from outside the directory where it lives.
>> So now we can run it from a script on the GRASS command line without
>> changing directories.
>> 
>> There is a new distribution on my website (both tarzipped package and
>> non-compressed files).
>> 
>> For now, just drop the gmwxp folder into your $GISBASE/etc folder and the
>> script "gm.wxp" into the $GISBASE/scripts folder.
>> 
>> Then you can just type gm.wxp& from the GRASS command line to start the new
>> GUI. It also reads the existing icon files, so you don't need the separate
>> icon directory anymore.
>> 
>> Michael
>> __________________________________________
>> Michael Barton, Professor of Anthropology
>> School of Human Evolution & Social Change
>> Center for Social Dynamics and Complexity
>> Arizona State University
>> 
>> phone: 480-965-6213
>> fax: 480-965-7671
>> www: http://www.public.asu.edu/~cmbarton
>> 
>> 
>> 




More information about the grass-dev mailing list