123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <!-- meta page description: wxGUI Animation tool -->
- <!-- meta page index: topic_gui|GUI -->
- <h2>DESCRIPTION</h2>
- The <b>Animation Tool</b> is a <em><a href="wxGUI.html">wxGUI</a></em> component
- for animating series of GRASS raster or vector maps or space time datasets (created by t.* modules).
- <p>
- Animation Tool allows you to:
- <ul>
- <li>display up to 4 synchronized animations</li>
- <li>each animation can consist of base map layer(s) and (multiple) series in arbitrary order
- (for example, raising water level with elevation)</li>
- <li>control the animation speed</li>
- <li>interactively change active frame using a slider</li>
- <li>visualize space time datasets with unequally spaced intervals</li>
- <li>animate 3d view (partially implemented, not supported on Windows)</li>
- <li>export animation as a series of images, animated GIF, AVI or SWF</li>
- <li>choose format of time labels in case of animating maps with absolute time</li>
- <li>choose background color</li>
- <li>set starting and ending region in order to change region during animation
- (alternatively you can set N-S/E-W values instead of the ending region;
- these are used for making the region smaller or larger for each step)</li>
- </ul>
- <p>
- 3D view animation enables to animate raster (as an elevation map or a
- color map) or vector map (points, lines). Internally,
- module <em><a href="m.nviz.image.html">m.nviz.image</a></em> is used.
- To display 3D view animation follow these steps:
- <ul>
- <li>open GRASS GUI, load maps and start 3D view</li>
- <li>set view, light and other parameters as you like</li>
- <li>save workspace file</li>
- <li>add new animation in Animation Tool, choose 3D view mode</li>
- <li>choose data (series of maps or space time dataset) used for animation</li>
- <li>set workspace file</li>
- <li>choose parameter (parameter
- of <em><a href="m.nviz.image.html">m.nviz.image</a></em>) to animate
- (e.g. color_map)</li>
- </ul>
- <center>
- <br>
- <img src="wxGUI_animation_tool.jpg" border="1" alt="Animation Tool screenshot">
- <br>
- <br>
- </center>
- <h2>NOTE</h2>
- The Animation Tool follows the computational region settings,
- so please be sure your computational region is set to the geographic extent of maps you are animating.
- You can change the computational region (using <em><a href="g.region.html">g.region</a></em>)
- and then reload the maps to update the animation.
- <h2>EXAMPLES</h2>
- <div class="code"><pre>
- g.gui.animation raster=rmap1,rmap2,rmap3
- g.gui.animation vector=vmap1,vmap2,vmap3
- g.gui.animation strds=precipitation_2000_2010
- </pre></div>
- The loading of a series of maps into the Animation Tool can be simplified
- with <em><a href="g.list.html">g.list</a></em> (back ticks syntax works for Linux and Mac only):
- <div class="code"><pre>
- g.gui.animation raster=`g.list type=raster mapset=. separator=comma pattern="precip*"`
- </pre></div>
- Using extended regular expressions, the list of a series of raster maps can be subset by
- e.g., numeric range (here: precipitation for the years 1997-2012):
- <div class="code"><pre>
- 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"`
- </pre></div>
- <h2>SEE ALSO</h2>
- <em>
- <a href="wxGUI.html">wxGUI</a><br>
- <a href="wxGUI.components.html">wxGUI components</a>
- </em>
- <p>
- <em>
- <a href="g.gui.timeline.html">g.gui.timeline</a>,
- <a href="g.list.html">g.list</a>,
- <a href="m.nviz.image.html">m.nviz.image</a>
- </em>
- <p>
- See also related <a href="https://grasswiki.osgeo.org/wiki/WxGUI_Animation_Tool">wiki page</a>.
- <h2>AUTHOR</h2>
- Anna Kratochvilova,
- <a href="http://www.cvut.cz">Czech Technical University in Prague</a>, Czech Republic
|