[GRASS-user] Import a catalog of ascii *.arc files and merge to a raster

Lars Forseth lars.forseth at ntebb.no
Sun Apr 1 11:57:23 EDT 2012


Thanks Daniel.

But no, I was not able to make your suggestion work; it complains that 
it dos not know the command 'For'...

Regards larsf


Den 01. april 2012 16:01, skrev Daniel Victoria:
>
> I believe there is a batch import function in the gui ( I'm not in 
> front of my computer now). If not, you can write a for loop in the 
> command line to import all files.
> In Linux shell it's something like
> For i in *.arc
> Do r.in.arc $i <output name here>
> Done
>
> Daniel
>
> On Apr 1, 2012 10:13 AM, "Lars Forseth" <lars.forseth at ntebb.no 
> <mailto:lars.forseth at ntebb.no>> wrote:
>
>     Hi!
>     I want to import a set (20) of ESRI ASCII raster files in a
>     catalog, and merge them to a single GRASS raster dataset.
>
>     How do I do that? (Yes I can import each file, and then merge
>     (r.patch), but..)
>
>     Regards larsf
>
>
>     _______________________________________________
>     grass-user mailing list
>     grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/grass-user
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120401/2fa97336/attachment.html


More information about the grass-user mailing list