[GRASS-user] mosaic raster files

Luís Ferreira lferreira75.1 at gmail.com
Thu Jul 2 12:33:29 EDT 2009


30 minutes for 35 tiles.

I tried to use some commercial software: 2 hours until 10 files with
subsequent error :D. 

g.region rast=`g.mlist pat=AST*dem sep=,`

r.series input=`g.mlist pat=AST*dem sep=,` output=aster_dem
method=average

Qui, 2009-07-02 às 08:28 -0700, Jamie Adams escreveu:
> If you have GDAL 1.6 installed, you can use gdalbuildvrt to create a
> VRT of the files, and then link to this using r.external.  This way
> you have a mosaic without duplicating the data.  
> 
> On Thu, Jul 2, 2009 at 7:53 AM, Milton Cezar Ribeiro
> <miltinho.astronauta at gmail.com> wrote:
>         Hi Guys,
>          
>         I will try first download the latest SVN. In fact I am running
>         a compiled version of 6.4R4, and I remember, on that time, few
>         programs (like r.patch if I am not wrong) not compiled
>         properly. Case it not work, I try r.series.
>          
>         Thanks a lot,
>          
>         milton
>         
>         
>         2009/7/2 Hamish <hamish_b at yahoo.com>
>         
>                 
>                 Milton Cezar Ribeiro wrote:
>                 > I just downloaded some tiles from GDEM/NASA and
>                 imported on GRASS.
>                 > Now I would like to generate a mosaic with the
>                 tiles,
>                 > but unfortunatelly r.patch
>                 ( http://grass.itc.it/gdp/html_grass63/r.patch.html )
>                 > is not compiled for GRASS 6.4R4 (windows / vista).
>                 
>                 
>                 Which installer?
>                 
>                 really there is nothing special about r.patch so it is
>                 a bad sign that
>                 it would be missing. what if you install RC5 or the
>                 SVN snapshot binary
>                 from June 2?
>                 
>                 
>                 > So is there a way of I join a list of rasters on a
>                 unique mosaic file?
>                 
>                 
>                 r.series and r.mapcalc should both be able to do the
>                 job, but not as
>                 simply.
>                 
>                 use 'g.region rast=tile1,tile2,tile3,tile5' first to
>                 set the computational
>                 region to the outside bounds of all the tiles listed.
>                 
>                 
>                 Hamish
>                 
>                 
>                 
>                 
>                 
>         
>         
>         _______________________________________________
>         grass-user mailing list
>         grass-user at lists.osgeo.org
>         http://lists.osgeo.org/mailman/listinfo/grass-user
>         
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list