On Wednesday 11 February 2009, Jonathan Greenberg wrote: > Sorry for the cross-posting. I was wondering if anyone has a unix > (preferably) or windows program that can spider a directory, recursively > searching for raster and vector data, and create bounding box polygons > for each raster/vector it finds, with attributes indicating the > path-to-file. Thanks! > > --j
Nice idea. I think that a simple python script should be able to do this, using the gdal/ogr module. Note that the bounding boxes will only be useful if: 1) the data are all in the same coordinate system 2) the data all contain enough SRS information to convert to a common coordinate system I'd ask on the GDAL list. Dylan -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo