[GRASS-user] Is r.damflood is suitable for grass6.5

SWAPAN GHOSH swap.ghsh at gmail.com
Thu Nov 8 21:27:03 PST 2012


Thanks to all for helping me. Later I build Grass7 developement
environment. At that time I have not much time for research. I can solve my
requirement using r.lake and r.hazard.flood command. I have also found
another solution using psmap flooding example scripts.

Thanks & Regards,

Swapan

On Thu, Nov 8, 2012 at 4:08 PM, Roberto Marzocchi <
roberto.marzocchi at gmail.com> wrote:

> Hi,
>
> r.dam is a simple bash script that is useful to create the data for
> r.damflood.
> Unfortunately r.dam is written in the grass 6 style and is needed to
> convert it to use in grass 7, while r.damflood is written in C using the
> grass7 libraries [1] so you don't find itr for grass6.5.
>
> The error [2] depend on the absence of a makefile. I see that Markus add a
> makefile this morning ( I also try to add it), I think that now you can
> compile r.dam.
> There is no description of r.dam, I will add as soon as possible.
>
> Concerning r.damflood, you can find the codes in grass7/raster/r.damflood/
> [1] and I think you can easily compile for Grass7. IYou cannot compile for
> grass6.5, it is need a correction of libraries. I'm not an expert about it.
> I did it manually to update r.damflood to grass7, but after we develop some
> new functionalities and perform the debug on the grass7 version of
> r.damflood, so I do not want to add the old code developed in for Grass 6.4
> because I'm not sure about the correctness of it. We choose in fact to
> develop it only for grass7 and I think it is reasonable.
>
>
> Roberto
>
>
>
> 2012/11/8 Martin Landa <landa.martin at gmail.com>
>
>> Hi,
>>
>> 2012/11/8 SWAPAN GHOSH <swap.ghsh at gmail.com>:
>> > I am trying to compile source code in Mingw environment for r.damflood.
>> But
>> > I have a problem that some libary is missing in my environment. Can you
>> > please send me the .exe file by remaning as r.damflood.txt. Is it run
>> > succesfully in Grass6.5.
>>
>> all addons are automatically build for winGRASS. You can install them
>> from the GUI (Settings -> Addons -> Install). The binaries are
>> available at [1]. I didn't find r.damflood, just r.dam (which failed)
>> [2].
>>
>> Martin
>>
>> [1] http://wingrass.fsv.cvut.cz/grass65/addons/
>> [2] http://wingrass.fsv.cvut.cz/grass65/addons/logs/r.dam.log
>>
>> --
>> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121109/1f2f9919/attachment.html>


More information about the grass-user mailing list