WxGUI Graphical Modeler: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
Line 58: Line 58:
{{YouTube|b1QOBlT-oXE|desc=Creating model with series (loop) - dynamic list of maps}}
{{YouTube|b1QOBlT-oXE|desc=Creating model with series (loop) - dynamic list of maps}}
{{YouTube|DTMmmcVpJKk|desc=Creating model which exports all GRASS vector maps from given mapset to PostGIS database}}
{{YouTube|DTMmmcVpJKk|desc=Creating model which exports all GRASS vector maps from given mapset to PostGIS database}}
{{YouTube|uStN3F6ZZoc|desc=Creating model which exports all GRASS vector maps from given mapset to PostGIS database (including schema)
{{YouTube|uStN3F6ZZoc|desc=Creating model which exports all GRASS vector maps from given mapset to PostGIS database (including schema)}}
{{YouTube|cCXkrGI20aw|desc=Python editor in wxGUI Graphical Modeler}}
{{YouTube|cCXkrGI20aw|desc=Python editor in wxGUI Graphical Modeler}}



Revision as of 11:47, 29 April 2012

Graphical modeler is a wxGUI extension which allows the user to create, edit, and manage models. It's available from the menu

File -> Graphical modeler

Graphical modeler comes with GRASS 6.4.2+.

Note: the tool is currently under development and distributed as experimental prototype. See also wiki page for developers.

The modeler currently allows to:

  • define actions (GRASS commands)
  • define data items (raster, vector, 3D raster)
  • define relations between data and action items
  • define loops (series), conditions
  • validate model
  • run model
  • store model settings to the file (GRASS Model File|*.gxm)
  • export model settings to Python script
  • export model to image

See also manual page.

Models

For user-defined models, check http://svn.osgeo.org/grass/grass-addons/models

Gallery

Video tutorials

Creating simple model
Define intermediate data
Model parametrization
Define variables
Start model with data item
Creating simple model in wxGUI Graphical Modeler
Start model with data, define relation manually
Creating model with series (loop) - static list of maps
Creating model with series (loop) - dynamic list of maps
Creating model which exports all GRASS vector maps from given mapset to PostGIS database
Creating model which exports all GRASS vector maps from given mapset to PostGIS database (including schema)
Python editor in wxGUI Graphical Modeler

1) create schema with name of input mapset

2) copy vector maps from selected mapset to the current and stores their attributes in SQLite database

3) exports GRASS vector maps to the selected PostGIS database }}

WxGUI modeler - example of post-classification smoothing (remote sensing)

External links