<div dir="ltr">Thanks for the tip.&nbsp; I ended up using FWTools on linux w/ Grass support and gdaltindex worked fine.&nbsp; <br><br>-Jamie<br><br><div class="gmail_quote">On Wed, Jul 16, 2008 at 6:07 AM, G. Allegri &lt;<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In case you have compiled gdal with grass support you could access<br>
grass rasters directly from gdaltindex, pointing to the cellhd files.<br>
<br>
2008/7/16 Ivan Shmakov &lt;<a href="mailto:ivan@theory.asu.ru" target="_blank">ivan@theory.asu.ru</a>&gt;:<br>
<div><div></div><div>&gt;&gt;&gt;&gt;&gt;&gt; Jamie Adams &lt;<a href="mailto:jaadfoo@gmail.com" target="_blank">jaadfoo@gmail.com</a>&gt; writes:<br>
&gt;<br>
&gt; &nbsp;&gt; Hello all, I&#39;d like to generate a raster index polygon file, just<br>
&gt; &nbsp;&gt; like gdaltindex does, but using GRASS rasters as input. &nbsp;Is there a<br>
&gt; &nbsp;&gt; command I&#39;m overlooking?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;It may depend on the goal, but v.in.region(1) may be of some<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;use.<br>
&gt;<br>
&gt; &nbsp;&gt; If not, any ideas on how to do this?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;Iterating over the set of rasters can be implemented using<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;g.mlist(1) and the standard Shell `while&#39; and `read&#39; commands,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;like:<br>
&gt;<br>
&gt; $ g.mlist type=rast pattern=2008-\*-foo \<br>
&gt; &nbsp; &nbsp; &nbsp;| while read r ; do \<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ... do something... ; \<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;done<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;And the vectors can be concatenated using v.patch(1), like:<br>
&gt;<br>
&gt; &nbsp; v.in.region output=tmp_vector<br>
&gt; &nbsp; v.patch &nbsp;-a output=resulting_vector input=tmp_vector<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; grass-user mailing list<br>
&gt; <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
&gt;<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">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>
</div></div></blockquote></div><br></div>