[GRASS-user] raster merging
raffaele.morelli at gmail.com
Thu Mar 19 06:46:03 EDT 2009
2009/3/18 Nikos Alexandris <nikos.alexandris at felis.uni-freiburg.de>
> On Wed, 2009-03-18 at 16:17 +0100, Cassiel wrote:
> > Hi you all,
> > I am working with geotiff raster data served on a webgis (mapserver +
> > pmapper) and I would like to serve a merged raster (DEM + its shaded
> > relief) instead of serving two distinct raster/layer with my mapfile
> > (one for the dem and one for the shaded relief).
> > Should I go with r.mapcalc in order to obtain a suitable GTiff for
> > mapserver?
> > Regards
> > raffaele
> perhaps r.blend is what you are looking for. After some trial and error
> (concerning the "Percentage weight of first map for color blending")
> you'll get a nice looking shaded DEM that you can use (export).
> Kind regards, Nikos
Yes it is,
r.blend first=italia20m second=shade80 output=m80 percent=50
r.composite -d red=m80.r green=m80.g blue=m80.b levels=32 output=dem80
r.out.tiff -t input=dem80 output=dem80.tif compression=lzw
give me the GTiff I wanted.
thank you for helping.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-user