[GRASS-user] Handling 700 Dtm files in Grass

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.


Paul J. Shapley

On Tue, Feb 14, 2012 at 12:15 AM, Paul Shapley <p.shapley@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