[GRASS-user] xganim & underlying data?

Glynn Clements glynn at gclements.plus.com
Wed Aug 8 16:12:08 EDT 2007


M S wrote:

> > > Any suggestions on how to convert/integrate an r.lake output (the blue color
> > > map is very nice) with a DEM "elevation" colormap?
> >
> > I'm not entirely sure what you're asking. The output from r.lake is a
> > raster map, so that can be used as input to xganim.
> 
> if xganim only displays/animates a series of rasters, what I am after is
> having underlying data of the DEM with the lake output on top of that (like
> how it can be displayed in the "map display" - DEM background with lake
> output on top of that).
> 
> Basically I need the DEM (elevation colormap) with the lake on top of that
> animated to show how the containment area fills with water, rather than just
> an animation of the water building up.

Merge each lake map with the DEM using r.patch. Provided that the maps
use distinct categories, the colours should be set up correctly.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-user mailing list