[GRASS-dev] TclTk animator finished - replaces xganim

Glynn Clements glynn at gclements.plus.com
Thu Sep 13 12:00:41 EDT 2007


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.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list