<div dir="ltr">Thanks for the tip. I ended up using FWTools on linux w/ Grass support and gdaltindex worked fine. <br><br>-Jamie<br><br><div class="gmail_quote">On Wed, Jul 16, 2008 at 6:07 AM, G. Allegri <<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>> 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 <<a href="mailto:ivan@theory.asu.ru" target="_blank">ivan@theory.asu.ru</a>>:<br>
<div><div></div><div>>>>>>> Jamie Adams <<a href="mailto:jaadfoo@gmail.com" target="_blank">jaadfoo@gmail.com</a>> writes:<br>
><br>
> > Hello all, I'd like to generate a raster index polygon file, just<br>
> > like gdaltindex does, but using GRASS rasters as input. Is there a<br>
> > command I'm overlooking?<br>
><br>
> It may depend on the goal, but v.in.region(1) may be of some<br>
> use.<br>
><br>
> > If not, any ideas on how to do this?<br>
><br>
> Iterating over the set of rasters can be implemented using<br>
> g.mlist(1) and the standard Shell `while' and `read' commands,<br>
> like:<br>
><br>
> $ g.mlist type=rast pattern=2008-\*-foo \<br>
> | while read r ; do \<br>
> : ... do something... ; \<br>
> done<br>
><br>
> And the vectors can be concatenated using v.patch(1), like:<br>
><br>
> v.in.region output=tmp_vector<br>
> v.patch -a output=resulting_vector input=tmp_vector<br>
><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>
><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>