1wxGUI.animation(1) GRASS GIS User's Manual wxGUI.animation(1)
2
3
4
7 The Animation Tool is a wxGUI component for animating series of GRASS
8 raster or vector maps or space time datasets (created by t.* modules).
9
10 Animation Tool allows you to:
11
12 • display up to 4 synchronized animations
13
14 • each animation can consist of base map layer(s) and (multiple)
15 series in arbitrary order (for example, raising water level
16 with elevation)
17
18 • control the animation speed
19
20 • interactively change active frame using a slider
21
22 • visualize space time datasets with unequally spaced intervals
23
24 • animate 3d view (partially implemented, not supported on Win‐
25 dows)
26
27 • export animation as a series of images, animated GIF, AVI or
28 SWF
29
30 • choose format of time labels in case of animating maps with ab‐
31 solute time
32
33 • choose background color
34
35 • set starting and ending region in order to change region during
36 animation (alternatively you can set N-S/E-W values instead of
37 the ending region; these are used for making the region smaller
38 or larger for each step)
39
40 3D view animation enables to animate raster (as an elevation map or a
41 color map) or vector map (points, lines). Internally, module m.nviz.im‐
42 age is used. To display 3D view animation follow these steps:
43
44 • open GRASS GUI, load maps and start 3D view
45
46 • set view, light and other parameters as you like
47
48 • save workspace file
49
50 • add new animation in Animation Tool, choose 3D view mode
51
52 • choose data (series of maps or space time dataset) used for an‐
53 imation
54
55 • set workspace file
56
57 • choose parameter (parameter of m.nviz.image) to animate (e.g.
58 color_map)
59
61 The Animation Tool follows the computational region settings, so please
62 be sure your computational region is set to the geographic extent of
63 maps you are animating. You can change the computational region (using
64 g.region) and then reload the maps to update the animation.
65
67 g.gui.animation raster=rmap1,rmap2,rmap3
68 g.gui.animation vector=vmap1,vmap2,vmap3
69 g.gui.animation strds=precipitation_2000_2010
70 The loading of a series of maps into the Animation Tool can be simpli‐
71 fied with g.list (back ticks syntax works for Linux and Mac only):
72 g.gui.animation raster=`g.list type=raster mapset=. separator=comma pattern="precip*"`
73 Using extended regular expressions, the list of a series of raster maps
74 can be subset by e.g., numeric range (here: precipitation for the years
75 1997-2012):
76 g.gui.animation raster=`g.list -e type=raster mapset=. separator=comma pattern="precip_total.(199[7-9]|200[0-9]|201[0-2]).sum"`
77
79 wxGUI
80 wxGUI components
81
82 g.gui.timeline, g.list, m.nviz.image
83
84 See also related wiki page.
85
87 Anna Kratochvilova, Czech Technical University in Prague, Czech Repub‐
88 lic
89
91 Available at: wxGUI Animation tool source code (history)
92
93 Accessed: Saturday Jan 21 20:42:04 2023
94
95 Main index | GUI index | Topics index | Keywords index | Graphical in‐
96 dex | Full index
97
98 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
99
100
101
102GRASS 8.2.1 wxGUI.animation(1)