<div>Hi Mark,</div>
<div> </div>
<div>Have you tried something like grass.mlist_grouped(type = &#39;rast&#39;) (may be you need change to &quot;vect&quot;) on python?</div>
<div> </div>
<div>good luck</div>
<div> </div>
<div>milton<br><br></div>
<div class="gmail_quote">2009/8/20 M S <span dir="ltr">&lt;<a href="mailto:mseibel@gmail.com">mseibel@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Greetings All:<br><br>How would one read the vector maps in a current mapset into a file, or a list in an array (using python)?  If I do &#39;g.list vect &gt; walker.list&#39;, the list is not in one column and seems to be separated by tabs, with 4 columns and a bunch of rows of vector files.  Would a simple solution be to begin processing that redirected output?<br>
<br>As background...<br><br>After running the r.sim.water module, I get a bunch of walkerXXXX vector maps as outputs for given intervals.  Works well thus far.<br><br>I&#39;m building an animated GIF of the walkers over time, on a shaded DEM.  The method I am using is tedious and am seeking to automate the process.  I load all the layers (shaded DEM, walkers at various intervals) and turn on one walker vector, and output a .png from the display monitor.  Wash, rinse, repeat until all walkers have been captured as an image, then animate them with the &#39;convert&#39; command.<br>
<br>If anyone has some suggestions on how to get vector maps into a list, please let me know.  Also, if there is a better way to solve this problem, any feedback would be greatly appreciated.<br><br>Mark<br><br>_______________________________________________<br>
grass-user mailing list<br><a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br></blockquote></div><br>