[GRASS-dev] script selecting the extent

2012-07-13 Thread Margherita Di Leo
Hi, I have more than 22000 GeoTiff's stored in a folder (the world coverage of ASTER GDEM) and I have to select among them only those covering the Europe area, in order to import them in GRASS. I was about to write a Python script to do that (using gdalinfo), but I felt like reinventing the wheel,

Re: [GRASS-dev] script selecting the extent

2012-07-13 Thread Margherita Di Leo
Solved by: gdaltindex index.shp *.tif ogr2ogr -f CSV list.csv an_index.shp -spat xmin ymin xmax ymax ciao On Fri, Jul 13, 2012 at 11:37 AM, Margherita Di Leo < dileomargher...@gmail.com> wrote: > Hi, > > I have more than 22000 GeoTiff's stored in a folder (the world coverage of > ASTER GDEM) an