[GRASSLIST:1648] Re: display several maps

Markus Neteler neteler at geog.uni-hannover.de
Tue Mar 20 12:57:00 EST 2001


On Tue, Mar 20, 2001 at 02:20:48PM +0930, Gail Higginbottom wrote:
>  r.patch is used to  to make a composite map layer from several map layers
> which are "registered to the same area of the Earth's surface".  So I dont
> think it will help Julien. I think JUlien is looking for something that
> creates one large map from several "sub-maps" of an entire region .
> 
> best wishes,
> Gail

Hi all,

the r.patch will do the job as well (note the -z flag). Additionally
you can try the script

i.image.mosaic 

GRASS script to mosaic (aerial) images. A new image will
be created with extended colormap.

Please specify image file(s)!
Usage:
   i.image.mosaic image1 image2 [image3] [image4]

The first image will be on top of image stack.

However, it is limited to four images (you may update to get more involved
or you patch in several steps).

Cheers

 Markus


> On Tue, 20 Mar 2001, Justin Hickey wrote:
> 
> > Hi Julien
> > 
> > julien wrote:
> > > 
> > > Hi list,
> > > 
> > > I'm working on a project into GRASS which is composed by several 
> > > maps. (raster).
> > > These maps have been imported into GRASS using r.in.tiff. and 
> > > r.support.
> > > 
> > > Each of these maps has the good coordinates. They compose a large 
> > > map.
> > > 
> > > But how can I display these maps together in the monitor ?
> > > Using d.rast -o map1 ... d.rast -o map2 ...is quiet boring when you 
> > > have 10 or more maps !
> > > I've thought to write a small script to do that but maybe there is a
> > > module to create a group of maps in a project.
> > > I've tried to create a new group composed by all these maps but I'm 
> > > not able to display it (the name of these groups does not appear in
> > > the g.list rast).
> > 
> > I'm not sure what you did to try and group your maps. However, I believe
> > the command to use to create a single raster map out of several smaller
> > maps is r.patch. Please see the html documentation that comes with Grass
> > (starting point is documents/index.html). Select the raster commands
> > link and then the r.patch link. Please note that there are tips in the
> > "Notes" section that may be useful to you.
> > 
> > Hope this helps.
> > 
> > -- 
> > Sincerely,
> > 
> > Jazzman (a.k.a. Justin Hickey)  e-mail: jhickey at hpcc.nectec.or.th
> > High Performance Computing Center
> > National Electronics and Computer Technology Center (NECTEC)
> > Bangkok, Thailand
> > ==================================================================
> > People who think they know everything are very irritating to those
> > of us who do.  ---Anonymous
> > 
> > Jazz and Trek Rule!!!
> > ==================================================================
> > 
> 

-- 
Markus Neteler *  University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494  Fax: -3984




More information about the grass-user mailing list