[GRASS-dev] Re: r.series, r.terraflow, simwe

Glynn Clements glynn at gclements.plus.com
Wed Jul 9 23:51:23 EDT 2008


Paul Kelly wrote:

> >> it before Will moves r.terraflow into the iostream directory as
> >> suggested by Paul.
> >
> > Can you provide details?
> 
> Will is working on a new r.viewshed module which uses the same iostream 
> C++ library as r.terraflow. To avoid code duplication I suggested this 
> layout:
> Have a subdirectory:
> raster/iostream/
> and within that lib/ r.terraflow/ r.viewshed/
> One copy of the library in the lib directory - it compiles into a static 
> library which is then linked in by r.terraflow and r.viewshed.
> 
> This is subject to revision/better ideas of course - when Will has the 
> r.viewshed code ready (I haven't seen it) maybe we can experiment with 
> it in grass-addons in the first instance.

I suggest moving the iostream library to lib/iostream, rather than
grouping r.terraflow and r.viewshed together.

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


More information about the grass-dev mailing list