wxpython based gui for grass gis
play

wxPython-based GUI for GRASS GIS Martin Landa January 28, 2008 - PowerPoint PPT Presentation

Symposium GIS Ostrava 2008 wxPython-based GUI for GRASS GIS Martin Landa January 28, 2008 GIS Ostrava 2008, January 27-30 1 / 18 Outline GRASS in 2007 GUI for GRASS GIS Motivation wxPython GUI development Plans for 2008 GIS


  1. Symposium GIS Ostrava 2008 — wxPython-based GUI for GRASS GIS — Martin Landa January 28, 2008 GIS Ostrava 2008, January 27-30 1 / 18

  2. Outline GRASS in 2007 GUI for GRASS GIS Motivation wxPython GUI development Plans for 2008 GIS Ostrava 2008, January 27-30 2 / 18

  3. Outline GRASS in 2007 GUI for GRASS GIS Motivation wxPython GUI development Plans for 2008 GIS Ostrava 2008, January 27-30 3 / 18

  4. GRASS migrated to OSGeo ◮ What is OSGeo? ◮ “The Open Source Geospatial Foundation has been created to support and build the highest-quality open source geospatial software.” ◮ Infrastructure (source code repository, websites, mailing lists, wiki) moved to OSGeo → http://grass.osgeo.org → http://trac.osgeo.org/grass GIS Ostrava 2008, January 27-30 4 / 18

  5. GRASS migrated to OSGeo ◮ What is OSGeo? ◮ “The Open Source Geospatial Foundation has been created to support and build the highest-quality open source geospatial software.” ◮ Infrastructure (source code repository, websites, mailing lists, wiki) moved to OSGeo ◮ Repository migrated from CVS (hosted since 1999 at Intevation GmbH, Germany) to OSGeo SVN ◮ Add-ons repository moved from FBK-irst (formerly ITC-irst), Italy to OSGeo SVN ◮ Website master, mailing lists moved from FBK-irst to OSGeo ◮ Bug tracker (GForge) hosted at Intevation GmbH replaced by OSGeo Trac instance → http://grass.osgeo.org → http://trac.osgeo.org/grass GIS Ostrava 2008, January 27-30 4 / 18

  6. Outline GRASS in 2007 GUI for GRASS GIS Motivation wxPython GUI development Plans for 2008 GIS Ostrava 2008, January 27-30 5 / 18

  7. GRASS GUI Evolution Story Motto While the early decision to first develop GRASS as a command-line system remained good, the need to provide users with a GUI was increasingly difficult to ignore. ◮ All native GUIs written in TCL/TK GIS Ostrava 2008, January 27-30 6 / 18

  8. GRASS GUI Evolution Story Motto While the early decision to first develop GRASS as a command-line system remained good, the need to provide users with a GUI was increasingly difficult to ignore. ◮ All native GUIs written in TCL/TK 5.0 The first native GUI for GRASS developed by Jacques Bouchard in 1999 and became part of GRASS 5.x, so-called TCLTKGRASS . 6.0 The replacement of TCLTKGRASS – Display Manager developed by Michael Barton, Radim Blaˇ zek and others. 6.2 The next step in GUI evolution was GIS Manager developed mainly by Michael Barton in 2006-2007. GIS Ostrava 2008, January 27-30 6 / 18

  9. TCLTKGRASS The first native GUI for GRASS – TCLTKGRASS in GRASS 5.0. GIS Ostrava 2008, January 27-30 7 / 18

  10. Display Manager Display Manager in GRASS 6.1. GIS Ostrava 2008, January 27-30 8 / 18

  11. GIS Manager GIS Manager in GRASS 6.3. GIS Ostrava 2008, January 27-30 9 / 18

  12. Outline GRASS in 2007 GUI for GRASS GIS Motivation wxPython GUI development Plans for 2008 GIS Ostrava 2008, January 27-30 10 / 18

  13. Motivation ◮ GRASS shows high capability to analyze and manipulate data × Incomplete and scarcely intuitive GUI ◮ Limitations of Tcl/Tk toolkit appeared to be fundamental for the future development ◮ Goals: GIS Ostrava 2008, January 27-30 11 / 18

  14. Motivation ◮ GRASS shows high capability to analyze and manipulate data × Incomplete and scarcely intuitive GUI ◮ Limitations of Tcl/Tk toolkit appeared to be fundamental for the future development ◮ Goals: ◮ Portability , fully functional on the GNU/Linux, Unix, Mac-OS and MS Windows operating systems ◮ Ease of Use , providing all the features common to state of the art GIS applications ◮ Extensibility , all tools integrated into GUI, including digitization, georectification, image classification, etc. GIS Ostrava 2008, January 27-30 11 / 18

  15. wxWidgets Graphical toolkit Based on requirements has been decided to use wxWidgets. ◮ Powerful Python binding (know as wxPython ) ◮ Uses native platform SDK (native look and feel) ◮ Free OpenGL widget which is requested for future development (NVIZ replacement) GIS Ostrava 2008, January 27-30 12 / 18

  16. wxWidgets Graphical toolkit Based on requirements has been decided to use wxWidgets. ◮ Powerful Python binding (know as wxPython ) ◮ Uses native platform SDK (native look and feel) ◮ Free OpenGL widget which is requested for future development (NVIZ replacement) Python Python as “easy-to-learn”, object oriented, currently “very popular” language should enable more people actively contribute on the development. GIS Ostrava 2008, January 27-30 12 / 18

  17. Outline GRASS in 2007 GUI for GRASS GIS Motivation wxPython GUI development Plans for 2008 GIS Ostrava 2008, January 27-30 13 / 18

  18. wxPython GUI development ◮ Development started in the end of 2006 ◮ It is planned to be default GUI option for GRASS 6.4 (the main release of 2008) and GRASS 7 releases ◮ The GUI composed by two components: GIS Ostrava 2008, January 27-30 14 / 18

  19. wxPython GUI development ◮ Development started in the end of 2006 ◮ It is planned to be default GUI option for GRASS 6.4 (the main release of 2008) and GRASS 7 releases ◮ The GUI composed by two components: ◮ Layer Manager allows to run different GRASS modules from menu, includes map layer management, integrated command-line prompt, and command output window GIS Ostrava 2008, January 27-30 14 / 18

  20. wxPython GUI development Layer Manager – layer management tab GIS Ostrava 2008, January 27-30 14 / 18

  21. wxPython GUI development Layer Manager – command log area tab GIS Ostrava 2008, January 27-30 14 / 18

  22. wxPython GUI development ◮ Development started in the end of 2006 ◮ It is planned to be default GUI option for GRASS 6.4 (the main release of 2008) and GRASS 7 releases ◮ The GUI composed by two components: ◮ Layer Manager allows to run different GRASS modules from menu, includes map layer management, integrated command-line prompt, and command output window ◮ Map Display Window(s) integrates basic tools for zooming, panning, data querying, decorations (north arrows, barscale, etc.) GIS Ostrava 2008, January 27-30 14 / 18

  23. wxPython GUI development Map Display Window GIS Ostrava 2008, January 27-30 14 / 18

  24. wxPython GUI development GIS Ostrava 2008, January 27-30 14 / 18

  25. Digitization tool ◮ Currently under development ◮ Fully integrated into GUI ◮ Replaces the current Tcl/Tk-based v.digit module ◮ Based on v.edit functionality GIS Ostrava 2008, January 27-30 15 / 18

  26. Digitization tool ◮ Currently under development ◮ Fully integrated into GUI ◮ Replaces the current Tcl/Tk-based v.digit module ◮ Based on v.edit functionality ◮ New features implemented (based on requirements of Comune di Trento, GIS department) ◮ Select vector objects by box/query (line length, dangles) ◮ Snap to node or vertex ◮ Snap to the vector objects (node or vertex) from background vector map layer(s) ◮ Copy vector objects from background vector map layer(s) ◮ . . . GIS Ostrava 2008, January 27-30 15 / 18

  27. Digitization tool Copying vector objects from background vector map GIS Ostrava 2008, January 27-30 15 / 18

  28. Digitization tool Copying vector objects from background vector map GIS Ostrava 2008, January 27-30 15 / 18

  29. Digitization tool Modify attribute data GIS Ostrava 2008, January 27-30 15 / 18

  30. Outline GRASS in 2007 GUI for GRASS GIS Motivation wxPython GUI development Plans for 2008 GIS Ostrava 2008, January 27-30 16 / 18

  31. Plans for 2008 ◮ Map Layout and Map Symbol Editor – for simple cartographic outputs comparable e.g. with ArcGIS map layout functionality ◮ Georectification tool – is currently being developed by Michael Barton ◮ Integrates OpenGL into Map Display Window, support 3D rendering including 3D raster (voxels) and vector data ◮ Interactive command-line prompt , module search engine (search GRASS module based on the given keywords) ◮ Integrated tools for remote sensing like i.class ◮ For detailed information see http://grass.gdf-hannover.de/wiki/WxPython- based GUI for GRASS GIS Ostrava 2008, January 27-30 17 / 18

  32. EOF Grazie per attenzione! GIS Ostrava 2008, January 27-30 18 / 18

Recommend


More recommend