[GRASS-dev] TclTk animator finished - replaces xganim

Michael Barton michael.barton at asu.edu
Fri Sep 14 16:45:40 EDT 2007




On 9/14/07 10:52 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> Hamish wrote:
> 
>> Main window- when I hit exit I get this error over and over and have to
>> use xkill to get rid of it (taking down gis.m too):
>> 
>> ERROR: <nsres=0> ** invalid input **
>> ERROR: <nsres=0> ** invalid input **
>>     while executing
>> "exec g.region nsres=$oldres1 ewres=$oldres2"
>>     (procedure "GmAnim::cmd_exit" line 19)
>>     invoked from within
>> "GmAnim::cmd_exit"
>>     (command bound to event)
> 
> It should be using $WIND_OVERRIDE or $GRASS_REGION, *not* modifying
> the WIND file.

Yes, you're probably right even though this involves computational regions
rather than display regions. I've already thought of this, but wanted to get
the whole concept working before I tackled the tricky problem of trying to
code one of these approaches (tricky because of different formats between
latlon and non-latlon regions).

Do you have a recommendation for which would be better in this case? I
assume that in either case, I'll have to replicate the entire region
information even though I only need to temporarily change the resolution
while r.out.ppm is running.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
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