[gdal-dev] script selecting the extent
Margherita Di Leo
diregola at gmail.com
Fri Jul 13 06:51:21 PDT 2012
On Fri, Jul 13, 2012 at 2:34 PM, Even Rouault
<even.rouault at mines-paris.org>wrote:
>
>
> But I don't think you need to do any scripting. You could use "gdaltindex
> an_index.shp *.tif" ( http://gdal.org/gdaltindex.html ) to create an
> index of
> all the files, and then with "ogrinfo an_index.shp -spat xmin ymin xmax
> ymax",
> you would get the list of files that intersection the bounding box. Perhaps
> "ogr2ogr -f CSV list.csv an_index.shp -spat xmin ymin xmax ymax" would
> lead to
> something even more easily usable.
>
Thanks a ton,
--
Dr. Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120713/8795511c/attachment.html>
More information about the gdal-dev
mailing list