Markus, On Mon, Jul 16, 2012 at 11:37 AM, Markus Neteler <nete...@osgeo.org> wrote:
> On Mon, Jul 16, 2012 at 11:32 AM, Margherita Di Leo > <dileomargher...@gmail.com> wrote: > ... > > My aim was to retrieve the names of tiles in the LIST variable instead of > > storing them in the CSV file produced by: > > ogr2ogr -f CSV list.csv index_dem.shp -spat -11.0001389 33.9998611 > > 43.0001389 72.0001389 > > How should I do it? > > I don't know if it works your way but you need a space separated list > of names in the end... > It doens't work indeed :) So I created a file with a space separated list of names and then (with a little suggestion from Luca) : LIST="" for i in `cat /home/leomarg/Desktop/aster/elenco_aster_europa_riga`;do LIST="$LIST $i"; done Eventually I ran: gdalwarp $CACHE $BIGTIFF -srcnodata -9999 -dstnodata -9999 -r bilinear -tr $RES $RES $LIST mosaik_$RES.tif But I got ERROR: [....] ERROR 1: Integer overflow : nDstXSize=49460, nDstYSize=70144 Processing input file ASTGTM_N55E011_dem_lzw.tif. ERROR 1: Integer overflow : nDstXSize=49460, nDstYSize=70144 Processing input file ASTGTM_N55E012_dem_lzw.tif. ERROR 1: Integer overflow : nDstXSize=49460, nDstYSize=70144 More than 1000 errors or warnings have been reported. No more will be reported from now. Puzzled.. ciao madi -- Dr. Margherita Di Leo
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev