[GRASS-user] Handling 700 Dtm files in Grass

Markus Neteler neteler at osgeo.org
Tue Feb 14 10:01:24 EST 2012


On Tue, Feb 14, 2012 at 12:15 AM, Paul Shapley <p.shapley at gmail.com> wrote:
> Hi,
>
> I need to merge 700 arcinfo ascii files so they can be imported into Grass
> then saved as a single geotif, How can this best be done?. It is possible to
> import them one at a time but this is not practical.

I usually use gdalwarp for this with cache:

# in megabytes, update cache according to your RAM
# (here a big 18GB machine)
gdalwarp --config GDAL_CACHEMAX 8000 -wm 8000 *.asc mosaik.tif

Then import the mosaik.tif file (or whatever you call it).

Markus


More information about the grass-user mailing list