[GRASS-dev] wxGUI modeler

Hi,

some days ago I started working on the new graphical modeler for wxGUI
[1]. Modeler is currently available in GRASS 7.0 and GRASS 6.5 [2].
It's aplha version with very limited functionality. See also flash
example how to create a simple model [3].

Martin

[1] http://grass.osgeo.org/wiki/WxGUI_Modeler
[2] https://svn.osgeo.org/grass/grass/trunk/gui/wxpython/gui_modules/gmodeler.py
[3] file:///home/martin/wxgui-modeler-0.html

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

2010/4/14 Martin Landa <landa.martin@gmail.com>:

[3] file:///home/martin/wxgui-modeler-0.html

[3] http://gama.fsv.cvut.cz/~landa/grass/swf/wxgui-modeler-0.html

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Hi,

2010/4/14 Franz Schiller <franzschiller1975@gmail.com>:

Uoou this is really awesome. I'm using GRASS6.4 and I suppose I cannot use
that modeler in this version right? I have installed 6.5 just for kicks. I

yes, GRASS 6.5+ is required to run the modeler.

can I use that modeler I mean How can I access/activate it?

It's available from menu "File | Graphical modeler".

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Hi!

Uoou this is really awesome. I'm using GRASS6.4 and I suppose I cannot use
that modeler in this version right? I have installed 6.5 just for kicks. I

Alththough you are standing on the shoulders of the GRASS developers,
you are a definite hero!

This is such a improvement!
I mean, this such a great tool.
Thank you for this.

Do you think that this could be combined with the QGIS interface and its
new possibilities to create GUIs?

I could imagine simple wizards in QGIS that perform processing based on
a model defined in the modeller.
Just an idea...

Thanks,
Timmie

Hello Martin,
this is really great. The GRASS community is waiting for such a tool
for many, many years.

At work i have implemented a back-end for a graphical modeler which is
based on XSD/XML and Python.
It is designed to automatically compute and consider the process
dependencies and to execute independent processes in parallel. It can
process huge, complex process chains with multiple start- and
end-points.

If you are interested in my experience, don't hesitate to ask. I may
be able to help a bit. :slight_smile:

Best regards
Soeren

2010/4/14 Martin Landa <landa.martin@gmail.com>:

Hi,

some days ago I started working on the new graphical modeler for wxGUI
[1]. Modeler is currently available in GRASS 7.0 and GRASS 6.5 [2].
It's aplha version with very limited functionality. See also flash
example how to create a simple model [3].

Martin

[1] http://grass.osgeo.org/wiki/WxGUI_Modeler
[2] https://svn.osgeo.org/grass/grass/trunk/gui/wxpython/gui_modules/gmodeler.py
[3] file:///home/martin/wxgui-modeler-0.html

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Hi Martin,

I have tried the nice modeller and would like to suggest one thing (since I
played a lot this weekend with the Sextante modeller, I would be happy to
see this addition):

Some/many users (like me) thinks from the data side. So it would be nice
to have, like in Sextante, another "data" icon which simply contains the
name of a raster or vector map. Then, when loading a module into the
modeller, the module could take this as input. See for illustration

http://www.gvsig.com/files/images/screenshots/gvSIG_Sextante_02.png

Nothing urgent of course...

-----
Then I found an issue when saving the model as Python script.

GRASS 6.4.2svn (nc_spm_08):~ > python runiv.py
"Unable to fetch interface description..."

I guess that it actually fails due to the "funny" encoding in the first line:

GRASS 6.4.2svn (nc_spm_08):~/grass64 > ~/runiv.py --interface-description
<?xml version="1.0" encoding="ANSI_X3.4-1968"?>
<!DOCTYPE task SYSTEM "grass-interface.dtd">
<task name="runiv.py">
        <flag name="verbose">
                <description>
                        Verbose module output
...

while:

GRASS 6.4.2svn (nc_spm_08):~/grass64 > r.univar
--interface-description 2>&1 | head
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task SYSTEM "grass-interface.dtd">
<task name="r.univar">
        <description>
                Calculates univariate statistics from the non-null
cells of a raster map.
...

However, this works:

~/runiv.py help
Usage:
runiv.py [--verbose] [--quiet]
Flags:
--v Verbose module output
--q Quiet module output

No idea where this encoding comes from...

Markus

Hi again,

On Mon, Apr 18, 2011 at 9:43 PM, Markus Neteler <neteler@osgeo.org> wrote:

Hi Martin,

I have tried the nice modeller and would like to suggest one thing (since I
played a lot this weekend with the Sextante modeller, I would be happy to
see this addition):

Some/many users (like me) thinks from the data side. So it would be nice
to have, like in Sextante, another "data" icon which simply contains the

opening my eyes I see the "data item" :slight_smile: only, "no selectable element", so
perhaps that's still work in progress. Will stay tuned!

Markus

Hi,

2011/4/18 Markus Neteler <neteler@osgeo.org>:

I have tried the nice modeller and would like to suggest one thing (since I
played a lot this weekend with the Sextante modeller, I would be happy to
see this addition):

Some/many users (like me) thinks from the data side. So it would be nice
to have, like in Sextante, another "data" icon which simply contains the

opening my eyes I see the "data item" :slight_smile: only, "no selectable element", so
perhaps that's still work in progress. Will stay tuned!

I was not touching modeler for months, so probably item for community sprint?

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Mon, Apr 18, 2011 at 10:08 PM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2011/4/18 Markus Neteler <neteler@osgeo.org>:

I have tried the nice modeller and would like to suggest one thing (since I
played a lot this weekend with the Sextante modeller, I would be happy to
see this addition):

Some/many users (like me) thinks from the data side. So it would be nice
to have, like in Sextante, another "data" icon which simply contains the

opening my eyes I see the "data item" :slight_smile: only, "no selectable element", so
perhaps that's still work in progress. Will stay tuned!

I was not touching modeler for months, so probably item for community sprint?

Yes, excellent. Added to

http://grass.osgeo.org/wiki/GRASS_Community_Sprint_Prague_2011#Technical

Markus