[GRASS-dev] new profiling tool and other gis.m updates

Michael Barton michael.barton at asu.edu
Fri May 19 17:02:47 EDT 2006


I forgot to update the new pkgIndex.tcl file in the cvs. This sources
profile.tcl. I just did this.

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


> From: Trevor Wiens <twiens at interbaun.com>
> Date: Fri, 19 May 2006 14:47:38 -0600
> To: Michael Barton <michael.barton at asu.edu>
> Cc: grass developers list <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] new profiling tool and other gis.m updates
> 
> On Fri, 19 May 2006 13:23:06 -0700
> Michael Barton <michael.barton at asu.edu> wrote:
> 
>> I just committed to the cvs a new profiling tool written in pure TclTk. To
>> go along with this, I©öve re-arranged the map display toolbar a bit to group
>> similar functions together and add help to all buttons. Please test.
>> 
> 
> I get an error:
> 
>  
>  invalid command name "GmProfile::create"
> invalid command name "GmProfile::create"
>     while executing
> "GmProfile::create $can($mon)"
>     (procedure "MapCanvas::startprofile" line 4)
>     invoked from within
> "MapCanvas::startprofile 1"
>     ("uplevel" body line 1)
>     invoked from within
> "uplevel \#0 $cmd"
>     (procedure "Button::_release" line 18)
>     invoked from within
> "Button::_release .mapcan(1).mf.topf.tb0.bbox3.b0"
>     (command bound to event)
> 
>> The region issue I mentioned earlier today appears to be still with us, so I
>> did a quick workaround by adding a zoom menubutton option to set the current
>> region (i.e., stored in WIND) to match the map display. This calls a
>> function that Cedric added.
>> 
>> Trevor Wiens created bindings to allow rapid tool switching using
>> Œhot-keys©ö. When using an interactive display tool you can now use a hot key
>> to switch from one tool to another without using the mouse to select the
>> tool. There are keys for each side (L&R) of the keyboard. They are very
>> handy if you need to quickly switch from one function to another.
>> 
>>     Zoom-in:    i or z
>>     Zoom-out:   o or t
>>     Pan:    p or a
>>     Query: ? or q
>>     Measure: m or d
> 
> Pointer: x or n
> 
>> 
>> Try them and see what you think.
>> 
>> I also changed the one-click zoom to the sqrt(2), following Glynn©ös
>> suggestion, to zoom more rapidly in either direction.
>> 
>> 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
>> 
> 
> 
> -- 
> Trevor Wiens 
> twiens at interbaun.com
> 
> The significant problems that we face cannot be solved at the same
> level of thinking we were at when we created them.
> (Albert Einstein)





More information about the grass-dev mailing list