[GRASS-dev] TclTk animator finished - replaces xganim

Michael Barton michael.barton at asu.edu
Thu Sep 13 12:04:12 EDT 2007


Thanks for clarifying this. It isn't described anywhere in the xganim docs,
so I was unable to get it to animate more than a few maps.

The parsing in the new TclTk module is still simpler. It will correctly
recognize rast[1-100]. Also, no leading 0's are needed to make the series
animate in the proper order.

Michael


On 9/13/07 9:00 AM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> Michael Barton wrote:
> 
>> I finished updating the new TclTk animation module and committed it to the
>> cvs. It does pretty much what xganim did, but with somewhat nicer interface.
>> It also has several important improvements over xganim.
>> 
>> Enter up to 4 animation series "views", following same format used by xganim
>> 
>>     rast[1-n],rast2[1-n],...
>> 
>> where rast[1-n] refers to raster maps rast1,rast2,rast3,...,rastn
>> 
>> You can also enter maps in the format, not supported by xganim
>> 
>>     rast1,rast2,rast3,...,rastn
> 
> This is supported by xganim; all of the view<n>= options have ->multiple=YES.
> 
>> An important improvement is that xganim currently will only actually work
>> with a series of 10 maps, rast[0-9]. Because it seek only individual
>> characters at the end of each map in the series, it cannot recognize numbers
>> higher than the numerals 0-9. That is 11 is simply two ones.
> 
> It understands whatever the shell understands (it invokes "ls" via the
> shell to expand wildcards). E.g. you can use "rast[0-9][0-9]" to match
> rast00 through rast99 inclusive. If your maps have varying numbers of
> digits, you can use multiple patterns, e.g.:
> 
> view1=rast[0-9],rast[1-9][0-9]
> 
> to match rast0 through rast99 inclusive.

__________________________________________
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