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

Paul Kelly paul-grass at stjohnspoint.co.uk
Wed Jul 9 18:22:50 EDT 2008


On Wed, 9 Jul 2008, Glynn Clements 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.

Paul


More information about the grass-dev mailing list