[GRASS-dev] r34409: Replace r.buffer with a script using r.grow.distance

Glynn Clements glynn at gclements.plus.com
Fri Nov 21 11:09:14 EST 2008


Glynn Clements wrote:

> > re. r34409: Replace r.buffer with a script using r.grow.distance
> > 
> > I am wondering, does r.grow.distance do the right thing in Lat/Lon?
> 
> No.
> 
> I'll look into adding metric=geodesic, but I'm not entirely certain
> that it's compatible with the algorithm.

Done, and modified the r.buffer script to use it. The results appear
to be identical to the C version.

> > If not, then the C version of r.buffer still has an important advantage
> > and should stay.
> 
> For now, I'll re-enable it, renamed to r.buffer2. It shouldn't be the
> default, as it reads the entire map into memory.

Also done.

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


More information about the grass-dev mailing list