[GRASS-dev] current state of r.li

Hi all.
Sorry for crossposting. As some of you know, the r.li suite of GRASS commands allows landscape analyses[0]. Its interface is rather complex, and is still in TclTk, not ported to either wxpython or qgis. As such, it is now more difficult to use than it should be, and it will become unusable when TclTk support will be dropped.
The possible solution (thanks Radim) is to rewrite the interface as a qgis python plugin. It should not be a huge work (we provisionally estimate 2-3 weeks).
The question is: is there anybody willing to invest either his/her time, or some money, to write such a plugin?
We (Faunalia) would be happy to help if necessary.
All the best.
--
http://www.faunalia.it/pc

[0]http://grass.fbk.eu/gdp/html_grass64/r.li.setup.html

Paolo wrote:

As some of you know, the r.li suite of GRASS
commands allows landscape analyses[0]. Its
interface is rather complex, and is still in
TclTk, not ported to either wxpython or qgis. As
such, it is now more difficult to use than it
should be, and it will become unusable when TclTk
support will be dropped.
The possible solution (thanks Radim) is to rewrite
the interface as a qgis python plugin. It should
not be a huge work

Hi,

I just looked at r.li.setup's .tcl files. it is some
work but as you say not a huge amount to port it to
another GUI frontend. (circa one dozen functions,
~1000 lines of code)

there is no reason to only do qgis or wxPython, we
should do both!

http://trac.osgeo.org/grass/browser/grass/trunk/raster/r.li/r.li.setup

the bigger issue for r.li was r.li.daemon et al
using UNIXisms which didn't work on MS Windows..
but IIRC Glynn already fixed that in grass7?

Hamish

Il 12/11/2010 22:35, Hamish ha scritto:

there is no reason to only do qgis or wxPython, we
should do both!

So you are volunteering for both? Great news! :wink:

the bigger issue for r.li was r.li.daemon et al
using UNIXisms which didn't work on MS Windows..
but IIRC Glynn already fixed that in grass7?

AFAIK it works also on win.
All the best.
--
http://www.faunalia.it/pc

BTW: what is the current status of r.li.setup.py? It's present in GRASS 7 source code but not used in menudata.xml.

(Greetings from QGIS hackfest in Wrocek everybody :)).

Maciek

--
Maciej Sieczka
http://www.sieczka.org

On Sat, 2010-11-13 at 20:23 +0100, Maciej Sieczka wrote:

BTW: what is the current status of r.li.setup.py? It's present in GRASS
7 source code but not used in menudata.xml.

Hi Maciek,

the r.li.setup.py in the source code is just a stub, it's not functional
at all. Feel all free to edit/drop it according to future development.

(Greetings from QGIS hackfest in Wrocek everybody :)).

Maciek

greetings from hackfest too!

(btw my studenti.uninsubria address is not functional anymore, please
use gmail instead)

Anne

On Sat, Nov 13, 2010 at 8:54 PM, Anne Ghisla <a.ghisla@gmail.com> wrote:

On Sat, 2010-11-13 at 20:23 +0100, Maciej Sieczka wrote:

BTW: what is the current status of r.li.setup.py? It's present in GRASS
7 source code but not used in menudata.xml.

Hi Maciek,

the r.li.setup.py in the source code is just a stub, it's not functional
at all. Feel all free to edit/drop it according to future development.

Please edit, don't drop :slight_smile: We need it...

Markus