Hi,<br><br>thank you all for answering,<br><br><div class="gmail_quote">On Sun, Jul 15, 2012 at 10:11 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Alternative:<br>
Make the mosaik with gdalwarp and import/register this single file.<br>
Here a simple script, using the GDAL cache to speed up (you'll<br>
need to adapt it):<br>
<br>
<br>
RES=10.0<br></blockquote><div><br>Markus, in my case resolution is  RES=0:00:01, should I use decimal degrees (RES=0.000278 , not sure it is correct) ?<br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


BIGTIFF="-co BIGTIFF=YES"<br>
# GDAL cache in megabytes<br>
CACHE="--config GDAL_CACHEMAX 8000 -wm 8000"<br>
<br>
LIST="`ls aster*.tif`"<br>
<br>
gdalwarp $CACHE $BIGTIFF -srcnodata 65535 -dstnodata 65535 -r bilinear <br></blockquote><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

-tr $RES $RES $LIST mosaik_$RES.tif<br>
gdaladdo mosaik_$RES.tif 2 4 8 16 32<br>
<br>
Hope this helps,<br>
Markus<br></blockquote><div><br>My steps are the following:<br>
<br>
# RES=0:00:01<br>
RES=0.000278<br>
BIGTIFF="-co BIGTIFF=YES"<br>
# GDAL cache in megabytes<br>
CACHE="--config GDAL_CACHEMAX 8000 -wm 8000"<br>
# Select from the complete ASTER coverage, the limits for Europe, and put it in a LIST:<br>
LIST="ogr2ogr -f index_dem.shp -spat -11.0001389 33.9998611 43.0001389 72.0001389 "<br>
gdalwarp $CACHE $BIGTIFF -srcnodata * -dstnodata * -r bilinear -tr $RES $RES $LIST mosaik_$RES.tif<br>
<br>But I get:<br><br>[leomarg@d01ri1002912 Dem_lzw]$ gdalwarp $CACHE $BIGTIFF -srcnodata * -dstnodata * -r bilinear -tr $RES $RES $LIST mosaik_$RES.tif<br><br>Usage: gdalwarp [--help-general] [--formats]<br>    [-s_srs srs_def] [-t_srs srs_def] [-to "NAME=VALUE"]<br>
    [-order n] [-tps] [-rpc] [-geoloc] [-et err_threshold]<br>    [-te xmin ymin xmax ymax] [-tr xres yres] [-tap] [-ts width height]<br>    [-wo "NAME=VALUE"] [-ot Byte/Int16/...] [-wt Byte/Int16]<br>    [-srcnodata "value [value...]"] [-dstnodata "value [value...]"] -dstalpha<br>
    [-r resampling_method] [-wm memory_in_mb] [-multi] [-q]<br>    [-cutline datasource] [-cl layer] [-cwhere expression]<br>    [-csql statement] [-cblend dist_in_pixels]<br>    [-of format] [-co "NAME=VALUE"]* [-overwrite]<br>
    srcfile* dstfile<br><br>Available resampling methods:<br>    near (default), bilinear, cubic, cubicspline, lanczos.<br><br><br>where am I wrong?<br><br>TIA<br><br></div></div><br><br clear="all"><br>-- <br><span style="color:rgb(102,102,102)">Dr. Margherita Di Leo</span><font color="#666666"><br>
</font><span style="color:rgb(102,102,102)"></span><br><br><br>