[GRASS-dev] limits of r.patch

Margherita Di Leo dileomargherita at gmail.com
Mon Jul 16 05:42:18 PDT 2012


Markus,

On Mon, Jul 16, 2012 at 11:37 AM, Markus Neteler <neteler at osgeo.org> wrote:

> On Mon, Jul 16, 2012 at 11:32 AM, Margherita Di Leo
> <dileomargherita at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20120716/7fa14d28/attachment-0001.html>


More information about the grass-dev mailing list