[GRASS-SVN] r58251 - grass/trunk/gui/wxpython/animation

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 18 13:42:27 PST 2013


Author: neteler
Date: 2013-11-18 13:42:27 -0800 (Mon, 18 Nov 2013)
New Revision: 58251

Modified:
   grass/trunk/gui/wxpython/animation/g.gui.animation.html
Log:
g.gui.animation manual: added example with extended regular expressions

Modified: grass/trunk/gui/wxpython/animation/g.gui.animation.html
===================================================================
--- grass/trunk/gui/wxpython/animation/g.gui.animation.html	2013-11-18 13:40:11 UTC (rev 58250)
+++ grass/trunk/gui/wxpython/animation/g.gui.animation.html	2013-11-18 21:42:27 UTC (rev 58251)
@@ -46,12 +46,25 @@
 
 <h2>EXAMPLES</h2>
 
+<div class="code"><pre>
+g.gui.animation rast=rmap1,rmap2,rmap3
 
-Load a series of raster maps into the Animation Tool:
+g.gui.animation vect=vmap1,vmap2,vmap3
+</pre></div>
+
+The loading of a series of maps into the Animation Tool can be simplified
+with <em>g.mlist</em>:
 <div class="code"><pre>
-g.gui.animation rast=`g.mlist type=rast mapset=. sep=comma pattern="precip*"`
+g.gui.animation rast=`g.mlist type=rast 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 rast=`g.mlist -e type=rast mapset=. separator=comma pattern="precip_total.(199[7-9]|200[0-9]|201[0-2]).sum"`
+</pre></div>
+
+
 <h2>TODO</h2>
 <ul>
   <li>export animation</li>



More information about the grass-commit mailing list