[GRASSLIST:7579] Re: Interior Buffers

Gordon Keith gordon.keith at csiro.au
Sun Jul 17 19:47:27 EDT 2005


On Mon, 18 Jul 2005 00:35, Dave Sampson wrote:
> using r.buffer how might I perform an interior buffer. That is take the
> outside of a raster clump (from r.clump) and make concentric internal
> buffers at 100, 200, 300 meters etc?.

have you tried:
r.mapcalc outside='if(isnan(clump),1,nan())'

then using r.buffer on outside?

Regards
Gordon

-- 

Gordon Keith
Programmer/Data Analyst
Marine Acoustics
CSIRO Marine and Atmospheric Research
http://www.cmar.csiro.au

I believe OS/2 is destined to be the most important operating system, 
and possibly program, of all time.
   -- Bill Gates




More information about the grass-user mailing list