[GRASS-dev] Contributing code to GRASS?
Wolf Bergenheim
wolf+grass at bergenheim.net
Wed May 21 17:01:52 EDT 2008
I forgot to add the link to the programmer's manual. Here it is:
http://download.osgeo.org/grass/grass6_progman/
--Wolf
On 22.05.2008 00:00, Wolf Bergenheim wrote:
> On 12.05.2008 11:56, Tomas Ukkonen wrote:
>> Hi,
>>
>> I'm working at Finnish Geodetic Insitute where we have
>> developed software and algorithms for delineating drainage
>> basins from DEM (raster) data. Recently, we decided to
>> contribute the code to GRASS.
>
> Glad to hear it :)
>
>>
>> After studying GRASS implementation a bit it seems
>> that I need only to create independent software modules
>> for each functionality (r.* module) where I define
>> interface for transferring parameters and data between
>> GRASS and our c++ code.
>> Is this correct?
>
> Yes. In grass each functionality is wrapped in a stand-alone module.
> There are library functions that will allow you to set up a standard
> GRASS command line interface. See [1] for the programmer's manual. Also
> have a look at the example raster module to get an idea on how to set up
> the module to be a GRASS module, and how to access the GRASS raster files.
>
>>
>> There seem to be 3 different places where I could
>> add the code, "grass6.4, grass7 and grass-addons".
>> Which repository should I be using?
>
> Definitely grass-addons for now.
>
>>
>> It may be possible that we will contribute more
>> code in the future.
>>
>
> Looking forward to it. In the meanwhile I'll be happy to help you in
> case you have any more questions.
>
> --Wolf
>
--
<:3 )---- Wolf Bergenheim ----( 8:>
More information about the grass-dev
mailing list