[GRASS-user] How to merge rasters using feathering/blending ?

Hamish hamish_b at yahoo.com
Thu Feb 24 18:10:32 EST 2011


kaipi wrote:
> I need to patch rasters containing NULL areas with
> alternative rasters. I can
> do this with r.patch but due to different
> quality/resolution of the rasters
> this produces prominent seamlines. Is there a way to
> feather/blend between
> merged rasters using Grass GIS?


for blending try:

g.region rast=map1,map2
r.series in=map1,map2 out=both_maps method=average

where there are two values it will take the average
where there is just one value it will use that
where there are NULLs or outside-of-map you'll get a NULL.


Hamish



      


More information about the grass-user mailing list