[GRASS-SVN] r34776 - in grass/branches/develbranch_6/gui/wxpython: gui_modules xml

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 7 05:45:17 EST 2008


Author: martinl
Date: 2008-12-07 05:45:16 -0500 (Sun, 07 Dec 2008)
New Revision: 34776

Added:
   grass/branches/develbranch_6/gui/wxpython/xml/menudata.xml
Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py
Log:
glynn: Convert menu data to XML
       (merge from trunk, r34771)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py	2008-12-07 10:32:34 UTC (rev 34775)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py	2008-12-07 10:45:16 UTC (rev 34776)
@@ -12,7 +12,7 @@
 for details.
 
 @author Michael Barton (Arizona State University)
- at author Yann Chemin
+ at author Yann Chemin <yann.chemin gmail.com>
 @author Martin Landa <landa.martin gmail.com>
 """
 
@@ -320,7 +320,7 @@
                                 (_("Multiple GPS export formats using GPSBabel"),
                                  _("Exports a vector map to a GPS receiver or file format supported by GPSBabel."),
                                  "self.OnMenuCmd",
-                                 "v.out.gpsbabel"),
+                                 "v.out.gps"),
 
                                 (_("POV-Ray export"),
                                  _("Converts to POV-Ray format, GRASS x,y,z -> POV-Ray x,z,y"),
@@ -854,6 +854,17 @@
                                  "r.topmodel"),
                                 ("","","", ""),
 
+                                (_("USLE K Factor"),
+                                 _("USLE K Factor: Soil Erodibility."),
+                                 "self.OnMenuCmd",
+                                 "r.uslek"),
+
+                                (_("USLE R Factor"),
+                                 _("USLE R Factor: Rainfall Erosivity."),
+                                 "self.OnMenuCmd",
+                                 "r.usler"),
+                                ("","","", ""),
+
                                 (_("Watershed subbasins"),
                                  _("Generates a raster map layer showing watershed subbasins."),
                                  "self.OnMenuCmd",
@@ -1647,6 +1658,43 @@
                          "i.ortho.photo"),
                         ("","","", ""),
 
+                        (_("Basic RS processing"), (
+
+                                (_("MODIS Quality Flags"),
+                                 _("Extract Modis Quality flags as raster values."),
+                                 "self.OnMenuCmd",
+                                 "i.modis.qc"),
+
+                                (_("Latitude/longitude maps"),
+                                 _("Creates Latitude or Longitude map."),
+                                 "self.OnMenuCmd",
+                                 "i.latlong"),
+
+                                (_("Potential Sunshine Hours"),
+                                 _("Creates Potential Sunshine Hours map."),
+                                 "self.OnMenuCmd",
+                                 "i.sunhours"),
+                                ("","","", ""),
+
+                                (_("Albedo"),
+                                 _("Albedo from Modis, Aster, Landsat, AVHRR."),
+                                 "self.OnMenuCmd",
+                                 "i.albedo"),
+
+                                (_("Vegetation Indices"),
+                                 _("14 types of vegetation Indices."),
+                                 "self.OnMenuCmd",
+                                 "i.vi"),
+                                ("","","", ""),
+
+                                (_("Emissivity"),
+                                 _("Emissivity from NDVI."),
+                                 "self.OnMenuCmd",
+                                 "i.emissivity"),
+                                )
+                         ),
+                        ("","","", ""),
+
                         (_("Brovey sharpening"),
                          _("Brovey transform to merge multispectral and high-res panchromatic channels"),
                          "self.OnMenuCmd",

Copied: grass/branches/develbranch_6/gui/wxpython/xml/menudata.xml (from rev 34771, grass/trunk/gui/wxpython/xml/menudata.xml)
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/xml/menudata.xml	                        (rev 0)
+++ grass/branches/develbranch_6/gui/wxpython/xml/menudata.xml	2008-12-07 10:45:16 UTC (rev 34776)
@@ -0,0 +1,2403 @@
+<menudata>
+ <menubar>
+  <menu>
+   <label>File</label>
+   <items>
+    <menu>
+     <label>Workspace</label>
+     <items>
+      <menuitem>
+       <label>New workspace</label>
+       <help>Create new workspace file (erase current workspace settings first)</help>
+       <handler>self.OnWorkspaceNew</handler>
+       </menuitem>
+      <menuitem>
+       <label>Open existing workspace</label>
+       <help>Open existing workspace file</help>
+       <handler>self.OnWorkspaceOpen</handler>
+       </menuitem>
+      <menuitem>
+       <label>Load map layers</label>
+       <help>Load map layers into layer tree</help>
+       <handler>self.OnWorkspaceLoad</handler>
+       </menuitem>
+      <menuitem>
+       <label>Load GRC file (Tcl/Tk GUI)</label>
+       <help>Load map layers from GRC file to layer tree (not fully implemented)</help>
+       <handler>self.OnWorkspaceLoadGrcFile</handler>
+       </menuitem>
+      <menuitem>
+       <label>Save workspace</label>
+       <help>Save current workspace to file</help>
+       <handler>self.OnWorkspaceSave</handler>
+       </menuitem>
+      <menuitem>
+       <label>Save workspace as</label>
+       <help>Save current workspace as file</help>
+       <handler>self.OnWorkspaceSaveAs</handler>
+       </menuitem>
+      <menuitem>
+       <label>Close current workspace</label>
+       <help>Close current workspace file</help>
+       <handler>self.OnWorkspaceClose</handler>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Import raster map</label>
+     <items>
+      <menuitem>
+       <label>Import raster data using GDAL</label>
+       <help>Import GDAL supported raster file into a binary raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.gdal</command>
+       </menuitem>
+      <menuitem>
+       <label>Multiple raster data import using GDAL</label>
+       <help>Converts selected GDAL layers to GRASS raster maps using r.in.gdal.</help>
+       <handler>self.OnImportGdalLayers</handler>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Aggregate ASCII xyz import</label>
+       <help>Create a raster map from an assemblage of many coordinates using univariate statistics.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.xyz</command>
+       </menuitem>
+      <menuitem>
+       <label>ASCII grid import</label>
+       <help>Converts ASCII raster file to binary raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.ascii</command>
+       </menuitem>
+      <menuitem>
+       <label>ASCII polygons and lines import</label>
+       <help>Creates raster maps from ASCII polygon/line/point data files.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.poly</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Binary file import</label>
+       <help>Import a binary raster file into a GRASS raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.bin</command>
+       </menuitem>
+      <menuitem>
+       <label>ESRI ASCII grid import</label>
+       <help>Converts an ESRI ARC/INFO ascii raster file (GRID) into a (binary) raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.arc</command>
+       </menuitem>
+      <menuitem>
+       <label>GRIDATB.FOR import</label>
+       <help>Imports GRIDATB.FOR map file (TOPMODEL) into GRASS raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.gridatb</command>
+       </menuitem>
+      <menuitem>
+       <label>MAT-File (v.4) import</label>
+       <help>Imports a binary MAT-File(v4) to a GRASS raster.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.mat</command>
+       </menuitem>
+      <menuitem>
+       <label>SPOT NDVI import</label>
+       <help>Import of SPOT VGT NDVI file into a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.in.spotvgt</command>
+       </menuitem>
+      <menuitem>
+       <label>SRTM HGT import</label>
+       <help>Import SRTM HGT files into GRASS</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.srtm</command>
+       </menuitem>
+      <menuitem>
+       <label>Terra ASTER HDF import</label>
+       <help>Georeference, rectify and import Terra-ASTER imagery and relative DEM's using gdalwarp.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.aster</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>WMS import</label>
+       <help>Downloads and imports data from WMS servers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.in.wms</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Import vector map</label>
+     <items>
+      <menuitem>
+       <label>Import vector data using OGR</label>
+       <help>Convert OGR vector layers to GRASS vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.ogr</command>
+       </menuitem>
+      <menuitem>
+       <label>Multiple vector data import using OGR</label>
+       <help>Converts selected OGR layers to GRASS vector maps using v.in.ogr.</help>
+       <handler>self.OnImportOgrLayers</handler>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>ASCII points/GRASS ASCII vector import</label>
+       <help>Creates a vector map from ASCII points file or ASCII vector file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.ascii</command>
+       </menuitem>
+      <menuitem>
+       <label>Old GRASS vector import</label>
+       <help>Imports older versions of GRASS vector maps.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.convert</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>DXF import</label>
+       <help>Converts files in DXF format to GRASS vector map format.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.dxf</command>
+       </menuitem>
+      <menuitem>
+       <label>Multiple DXF layers import</label>
+       <help>Converts selected DXF layers to GRASS vector maps (using v.in.dxf).</help>
+       <handler>self.OnImportDxfFile</handler>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>ESRI e00 import</label>
+       <help>Import E00 file into a vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.e00</command>
+       </menuitem>
+      <menuitem>
+       <label>Garmin GPS import</label>
+       <help>Download waypoints, routes, and tracks from a Garmin GPS receiver into a vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.garmin</command>
+       </menuitem>
+      <menuitem>
+       <label>GPSBabel GPS import</label>
+       <help>Import waypoints, routes, and tracks from a GPS receiver or GPS download file into a vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.gpsbabel</command>
+       </menuitem>
+      <menuitem>
+       <label>GEOnet import</label>
+       <help>Imports US-NGA GEOnet Names Server (GNS) country files into a GRASS vector points map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.gns</command>
+       </menuitem>
+      <menuitem>
+       <label>Matlab and MapGen import</label>
+       <help>Import Mapgen or Matlab vector maps into GRASS.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.mapgen</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Import grid 3D volume</label>
+     <items>
+      <menuitem>
+       <label>ASCII 3D import</label>
+       <help>Convert a 3D ASCII raster text file into a (binary) 3D raster map layer</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.in.ascii</command>
+       </menuitem>
+      <menuitem>
+       <label>Vis5D import</label>
+       <help>import of 3-dimensional Vis5D files (i.e. the v5d file with 1 variable and 1 time step)</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.in.v5d</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Import database table</label>
+     <items>
+      <menuitem>
+       <label>Multiple import formats using OGR</label>
+       <help>Imports attribute tables in various formats.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.in.ogr</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Export raster map</label>
+     <items>
+      <menuitem>
+       <label>Multiple export formats using GDAL</label>
+       <help>Exports GRASS raster map into GDAL supported formats.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.gdal</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>ASCII grid export</label>
+       <help>Converts a raster map layer into an ASCII text file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.ascii</command>
+       </menuitem>
+      <menuitem>
+       <label>ASCII x,y,z export</label>
+       <help>Export a raster map to a text file as x,y,z values based on cell centers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.xyz</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>ESRI ASCII grid export</label>
+       <help>Converts a raster map layer into an ESRI ARCGRID file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.arc</command>
+       </menuitem>
+      <menuitem>
+       <label>GRIDATB.FOR export</label>
+       <help>Exports GRASS raster map to GRIDATB.FOR map file (TOPMODEL)</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.gridatb</command>
+       </menuitem>
+      <menuitem>
+       <label>MAT-File (v.4) export</label>
+       <help>Exports a GRASS raster to a binary MAT-File.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.mat</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Binary export</label>
+       <help>Exports a GRASS raster to a binary array.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.bin</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>MPEG-1 export</label>
+       <help>Raster File Series to MPEG Conversion Program.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.mpeg</command>
+       </menuitem>
+      <menuitem>
+       <label>PNG export</label>
+       <help>Export GRASS raster as non-georeferenced PNG image format.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.png</command>
+       </menuitem>
+      <menuitem>
+       <label>PPM export</label>
+       <help>Converts a GRASS raster map to a PPM image file at the pixel resolution of the currently defined region.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.ppm</command>
+       </menuitem>
+      <menuitem>
+       <label>PPM from RGB export</label>
+       <help>Converts 3 GRASS raster layers (R,G,B) to a PPM image file at the pixel resolution of the CURRENTLY DEFINED REGION.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.ppm3</command>
+       </menuitem>
+      <menuitem>
+       <label>POV-Ray export</label>
+       <help>Converts a raster map layer into a height-field file for POVRAY.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.pov</command>
+       </menuitem>
+      <menuitem>
+       <label>TIFF export</label>
+       <help>Exports a GRASS raster map to a 8/24bit TIFF image file at the pixel resolution of the currently defined region.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.tiff</command>
+       </menuitem>
+      <menuitem>
+       <label>VRML export</label>
+       <help>Export a raster map to the Virtual Reality Modeling Language (VRML)</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.vrml</command>
+       </menuitem>
+      <menuitem>
+       <label>VTK export</label>
+       <help>Converts raster maps into the VTK-Ascii format</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.out.vtk</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Export vector map</label>
+     <items>
+      <menuitem>
+       <label>Multiple export formats using OGR</label>
+       <help>Converts to one of the supported OGR vector formats.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.out.ogr</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>ASCII points/GRASS ASCII vector export</label>
+       <help>Converts a GRASS binary vector map to a GRASS ASCII vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.out.ascii</command>
+       </menuitem>
+      <menuitem>
+       <label>DXF export</label>
+       <help>Exports GRASS vector map layers to DXF file format.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.out.dxf</command>
+       </menuitem>
+      <menuitem>
+       <label>Multiple GPS export formats using GPSBabel</label>
+       <help>Exports a vector map to a GPS receiver or file format supported by GPSBabel.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.out.gps</command>
+       </menuitem>
+      <menuitem>
+       <label>POV-Ray export</label>
+       <help>Converts to POV-Ray format, GRASS x,y,z -&gt; POV-Ray x,z,y</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.out.pov</command>
+       </menuitem>
+      <menuitem>
+       <label>SVG export</label>
+       <help>Exports a GRASS vector map to SVG.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.out.svg</command>
+       </menuitem>
+      <menuitem>
+       <label>VTK export</label>
+       <help>Converts a GRASS binary vector map to VTK ASCII output.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.out.vtk</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Export grid 3D volume</label>
+     <items>
+      <menuitem>
+       <label>ASCII 3D export</label>
+       <help>Converts a 3D raster map layer into an ASCII text file</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.out.ascii</command>
+       </menuitem>
+      <menuitem>
+       <label>Vis5D export</label>
+       <help>Export of GRASS 3D raster map to 3-dimensional Vis5D file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.out.v5d</command>
+       </menuitem>
+      <menuitem>
+       <label>VTK export</label>
+       <help>Converts 3D raster maps (G3D) into the VTK-Ascii format</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.out.vtk</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Manage maps and volumes</label>
+     <items>
+      <menuitem>
+       <label>Copy</label>
+       <help>Copies available data files in the user's current mapset search path and location to the appropriate element directories under the user's current mapset.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.copy</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>List</label>
+       <help>Lists available GRASS data base files of the user-specified data type to standard output.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.list</command>
+       </menuitem>
+      <menuitem>
+       <label>List filtered</label>
+       <help>Apply regular expressions and wildcards to g.list</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.mlist</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Rename</label>
+       <help>Renames data base element files in the user's current mapset.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.rename</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Delete</label>
+       <help>Removes data base element files from the user's current mapset.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.remove</command>
+       </menuitem>
+      <menuitem>
+       <label>Delete filtered</label>
+       <help>Apply regular expressions and wildcards to g.remove</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.mremove</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Map type conversions</label>
+     <items>
+      <menuitem>
+       <label>Raster to vector</label>
+       <help>Converts a raster map into a vector map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.to.vect</command>
+       </menuitem>
+      <menuitem>
+       <label>Raster series to volume</label>
+       <help>Converts 2D raster map slices to one 3D raster volume map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.to.rast3</command>
+       </menuitem>
+      <menuitem>
+       <label>Raster 2.5D to volume</label>
+       <help>Creates a 3D volume map based on 2D elevation and value raster maps.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.to.rast3elev</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Vector to raster</label>
+       <help>Converts a binary GRASS vector map layer into a GRASS raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.to.rast</command>
+       </menuitem>
+      <menuitem>
+       <label>Vector to volume</label>
+       <help>Converts a binary GRASS vector map (only points) layer into a 3D GRASS raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.to.rast3</command>
+       </menuitem>
+      <menuitem>
+       <label>Sites to vector</label>
+       <help>Converts a GRASS site_lists file into a vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.sites</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Volume to raster series</label>
+       <help>Converts 3D raster maps to 2D raster maps</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.to.rast</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menuitem>
+     <label>Georectify</label>
+     <help>Georectify raster and vector maps</help>
+     <handler>self.OnGeorectify</handler>
+     </menuitem>
+    <separator/>
+    <menuitem>
+     <label>NVIZ (requires Tcl/Tk)</label>
+     <help>nviz - Visualization and animation tool for GRASS data</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>nviz</command>
+     </menuitem>
+    <separator/>
+    <menuitem>
+     <label>Bearing/distance to coordinates</label>
+     <help>It assumes a cartesian coordinate system</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>m.cogo</command>
+     </menuitem>
+    <separator/>
+    <menuitem>
+     <label>Postscript plot</label>
+     <help>Hardcopy PostScript map output utility.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>ps.map</command>
+     </menuitem>
+    <separator/>
+    <menuitem>
+     <label>E&amp;xit</label>
+     <help>Exit GUI</help>
+     <handler>self.OnCloseWindow</handler>
+     </menuitem>
+    </items>
+   </menu>
+  <menu>
+   <label>Config</label>
+   <items>
+    <menu>
+     <label>Region</label>
+     <items>
+      <menuitem>
+       <label>Display region</label>
+       <help>Manages the boundary definitions for the geographic region.</help>
+       <handler>self.RunMenuCmd</handler>
+       <command>g.region -p</command>
+       </menuitem>
+      <menuitem>
+       <label>Set region</label>
+       <help>Manages the boundary definitions for the geographic region.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.region -p</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>GRASS working environment</label>
+     <items>
+      <menuitem>
+       <label>Mapset access</label>
+       <help>Set/unset access to other mapsets in current location</help>
+       <handler>self.OnMapsets</handler>
+       </menuitem>
+      <menuitem>
+       <label>Change working environment</label>
+       <help>Change current mapset.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.mapset</command>
+       </menuitem>
+      <menuitem>
+       <label>User access</label>
+       <help>Controls access to the current mapset for other users on the system.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.access</command>
+       </menuitem>
+      <menuitem>
+       <label>Show settings</label>
+       <help>Outputs and modifies the user's current GRASS variable settings.</help>
+       <handler>self.RunMenuCmd</handler>
+       <command>g.gisenv --v</command>
+       </menuitem>
+      <menuitem>
+       <label>Change settings</label>
+       <help>Outputs and modifies the user's current GRASS variable settings.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.gisenv</command>
+       </menuitem>
+      <menuitem>
+       <label>Version</label>
+       <help>Displays version and copyright information.</help>
+       <handler>self.RunMenuCmd</handler>
+       <command>g.version -c</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Manage projections</label>
+     <items>
+      <menuitem>
+       <label>Manage projections</label>
+       <help>Converts co-ordinate system descriptions (i.e. projection information) between various formats (including GRASS format). Can also be used to create GRASS locations.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>g.proj</command>
+       </menuitem>
+      <menuitem>
+       <label>Projection for current location</label>
+       <help>Create/edit projection information for current location</help>
+       <handler>self.OnXTerm</handler>
+       <command>g.setproj</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Convert coordinates</label>
+       <help>Convert coordinates from one projection to another (cs2cs frontend).</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>m.proj</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Preferences</label>
+     <help>User GUI preferences (display font, commands, digitizer, etc.)</help>
+     <handler>self.OnPreferences</handler>
+     </menuitem>
+    </items>
+   </menu>
+  <menu>
+   <label>Raster</label>
+   <items>
+    <menu>
+     <label>Develop raster map</label>
+     <items>
+      <menuitem>
+       <label>Digitize raster (requires XTerm)</label>
+       <help>Digitize raster map</help>
+       <handler>self.OnXTerm</handler>
+       <command>r.digit</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Compress/decompress</label>
+       <help>Compresses and decompresses raster maps.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.compress</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Region boundaries</label>
+       <help>Sets the boundary definitions for a raster map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.region</command>
+       </menuitem>
+      <menuitem>
+       <label>Manage NULL values</label>
+       <help>Creates explicitly the NULL-value bitmap file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.null</command>
+       </menuitem>
+      <menuitem>
+       <label>Quantization</label>
+       <help>Produces the quantization file for a floating-point map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.quant</command>
+       </menuitem>
+      <menuitem>
+       <label>Timestamp</label>
+       <help>Print/add/remove a timestamp for a raster map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.timestamp</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Resample using aggregate statistics</label>
+       <help>Resamples raster map layers using aggregation.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.resamp.stats</command>
+       </menuitem>
+      <menuitem>
+       <label>Resample using multiple methods</label>
+       <help>Resamples raster map layers using interpolation.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.resamp.interp</command>
+       </menuitem>
+      <menuitem>
+       <label>Resample using nearest neighbor</label>
+       <help>GRASS raster map layer data resampling capability.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.resample</command>
+       </menuitem>
+      <menuitem>
+       <label>Resample using spline tension</label>
+       <help>Reinterpolates and optionally computes topographic analysis from input raster map to a new raster map (possibly with different resolution) using regularized spline with tension and smoothing.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.resamp.rst</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Support file maintenance</label>
+       <help>Allows creation and/or modification of raster map layer support files.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.support</command>
+       </menuitem>
+      <menuitem>
+       <label>Update map statistics</label>
+       <help>Update raster map statistics</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.support.stats</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Link to GDAL</label>
+       <help>Link GDAL supported raster file to a binary raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.external</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Reproject raster</label>
+       <help>Re-projects a raster map from one location to the current location.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.proj</command>
+       </menuitem>
+      <menuitem>
+       <label>Tiling</label>
+       <help>Produces tilings of the source projection for use in the destination region and projection.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.tileset</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Manage colors</label>
+     <items>
+      <menuitem>
+       <label>Color tables</label>
+       <help>Creates/modifies the color table associated with a raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.colors</command>
+       </menuitem>
+      <menuitem>
+       <label>Color tables (stddev)</label>
+       <help>Set color rules based on stddev from a map's mean value.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.colors.stddev</command>
+       </menuitem>
+      <menuitem>
+       <label>Color rules</label>
+       <help>Set colors interactively by entering color rules</help>
+       <handler>self.RulesCmd</handler>
+       <command>r.colors</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Blend 2 color rasters</label>
+       <help>Blends color components of two raster maps by a given ratio.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.blend</command>
+       </menuitem>
+      <menuitem>
+       <label>Create RGB</label>
+       <help>Combines red, green and blue map layers into a single composite map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.composite</command>
+       </menuitem>
+      <menuitem>
+       <label>RGB to HIS</label>
+       <help>Generates red, green and blue raster map layers combining hue, intensity and saturation (HIS) values from user-specified input raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.his</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Query by coordinates</label>
+     <help>Queries raster map layers on their category values and category labels.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r.what</command>
+     </menuitem>
+    <separator/>
+    <menuitem>
+     <label>Buffer rasters</label>
+     <help>Creates a raster map layer showing buffer zones surrounding cells that contain non-NULL category values.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r.buffer</command>
+     </menuitem>
+    <menuitem>
+     <label>Closest points</label>
+     <help>Locates the closest points between objects in two raster maps.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r.distance</command>
+     </menuitem>
+    <menuitem>
+     <label>Mask</label>
+     <help>Create a MASK for limiting raster operation</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r.mask</command>
+     </menuitem>
+    <menuitem>
+     <label>Map calculator</label>
+     <help>Map calculator for raster map algebra</help>
+     <handler>self.DispMapCalculator</handler>
+     </menuitem>
+    <menu>
+     <label>Neighborhood analysis</label>
+     <items>
+      <menuitem>
+       <label>Moving window</label>
+       <help>Makes each cell category value a function of the category values assigned to the cells around it, and stores new cell values in an output raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.neighbors</command>
+       </menuitem>
+      <menuitem>
+       <label>Neighborhood points</label>
+       <help>Makes each cell value a function of the attribute values assigned to the vector points or centroids around it, and stores new cell values in an output raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.neighbors</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Overlay rasters</label>
+     <items>
+      <menuitem>
+       <label>Cross product</label>
+       <help>Creates a cross product of the category values from multiple raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.cross</command>
+       </menuitem>
+      <menuitem>
+       <label>Raster series</label>
+       <help>Makes each output cell value a function of the values assigned to the corresponding cells in the input raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.series</command>
+       </menuitem>
+      <menuitem>
+       <label>Patch raster maps</label>
+       <help>Creates a composite raster map layer by using known category values from one (or more) map layer(s) to fill in areas of "no data" in another map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.patch</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Statistical overlay</label>
+       <help>Calculates category or object oriented statistics.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.statistics</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Solar radiance and shadows</label>
+     <items>
+      <menuitem>
+       <label>Solar irradiance and irradiation</label>
+       <help>Computes direct (beam), diffuse and reflected solar irradiation raster maps for given day, latitude, surface and atmospheric conditions. Solar parameters (e.g. sunrise, sunset times, declination, extraterrestrial irradiance, daylight length) are saved in the map history file. Alternatively, a local time can be specified to compute solar incidence angle and/or irradiance raster maps. The shadowing effect of the topography is optionally incorporated.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.sun</command>
+       </menuitem>
+      <menuitem>
+       <label>Shadows map</label>
+       <help>Calculates cast shadow areas from sun position and DEM. Either A: exact sun position is specified, or B: date/time to calculate the sun position by r.sunmask itself.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.sunmask</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Terrain analysis</label>
+     <items>
+      <menuitem>
+       <label>Cumulative movement costs</label>
+       <help>Outputs a raster map layer showing the anisotropic cumulative cost of moving between different geographic locations on an input elevation raster map layer whose cell category values represent elevation combined with an input raster map layer whose cell values represent friction cost.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.walk</command>
+       </menuitem>
+      <menuitem>
+       <label>Cost surface</label>
+       <help>Outputs a raster map layer showing the cumulative cost of moving between different geographic locations on an input raster map layer whose cell category values represent cost.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.cost</command>
+       </menuitem>
+      <menuitem>
+       <label>Least cost route or flow</label>
+       <help>Traces a flow through an elevation model on a raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.drain</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Shaded relief</label>
+       <help>Creates shaded relief map from an elevation map (DEM).</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.shaded.relief</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Slope and aspect</label>
+       <help>Generates raster map layers of slope, aspect, curvatures and partial derivatives from a raster map layer of true elevation values. Aspect is calculated counterclockwise from east.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.slope.aspect</command>
+       </menuitem>
+      <menuitem>
+       <label>Terrain parameters</label>
+       <help>Uses a multi-scale approach by taking fitting quadratic parameters to any size window (via least squares).</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.param.scale</command>
+       </menuitem>
+      <menuitem>
+       <label>Textural features</label>
+       <help>Generate images with textural features from a raster map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.texture</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Visibility</label>
+       <help>Line-of-sight raster analysis program.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.los</command>
+       </menuitem>
+      <menuitem>
+       <label>Distance to features</label>
+       <help>Generates a raster map layer of distance to features in input layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.grow.distance</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Transform features</label>
+     <items>
+      <menuitem>
+       <label>Clump</label>
+       <help>Recategorizes data in a raster map layer by grouping cells that form physically discrete areas into unique categories.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.clump</command>
+       </menuitem>
+      <menuitem>
+       <label>Grow</label>
+       <help>Generates a raster map layer with contiguous areas grown by one cell.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.grow</command>
+       </menuitem>
+      <menuitem>
+       <label>Thin</label>
+       <help>Thins non-zero cells that denote linear features in a raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.thin</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Hydrologic modeling</label>
+     <items>
+      <menuitem>
+       <label>Carve stream channels</label>
+       <help>Takes vector stream data, transforms it to raster and subtracts depth from the output DEM.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.carve</command>
+       </menuitem>
+      <menuitem>
+       <label>Fill lake</label>
+       <help>Fills lake from seed at given level</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.lake</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Depressionless map and flowlines</label>
+       <help>Filters and generates a depressionless elevation map and a flow direction map from a given elevation layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.fill.dir</command>
+       </menuitem>
+      <menuitem>
+       <label>Flow accumulation</label>
+       <help>Flow computation for massive grids (Float version).</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.terraflow</command>
+       </menuitem>
+      <menuitem>
+       <label>Flow lines</label>
+       <help>Construction of slope curves (flowlines), flowpath lengths, and flowline densities (upslope areas) from a raster digital elevation model (DEM)</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.flow</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>SIMWE Overland flow modeling</label>
+       <help>Overland flow hydrologic simulation using path sampling method (SIMWE)</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.sim.water</command>
+       </menuitem>
+      <menuitem>
+       <label>SIMWE Sediment flux modeling</label>
+       <help>Sediment transport and erosion/deposition simulation using path sampling method (SIMWE)</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.sim.sediment</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Topographic index map</label>
+       <help>Creates topographic index [ln(a/tan(beta))] map from elevation map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.topidx</command>
+       </menuitem>
+      <menuitem>
+       <label>TOPMODEL simulation</label>
+       <help>Simulates TOPMODEL which is a physically based hydrologic model.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.topmodel</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>USLE K Factor</label>
+       <help>USLE K Factor: Soil Erodibility.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.uslek</command>
+       </menuitem>
+      <menuitem>
+       <label>USLE R Factor</label>
+       <help>USLE R Factor: Rainfall Erosivity.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.usler</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Watershed subbasins</label>
+       <help>Generates a raster map layer showing watershed subbasins.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.basins.fill</command>
+       </menuitem>
+      <menuitem>
+       <label>Watershed analysis</label>
+       <help>Watershed basin analysis program.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.watershed</command>
+       </menuitem>
+      <menuitem>
+       <label>Watershed basin creation</label>
+       <help>Watershed basin creation program.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.water.outlet</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Landscape structure modeling</label>
+     <items>
+      <menuitem>
+       <label>Set up (requires XTerm)</label>
+       <help>Set up sampling and analysis framework</help>
+       <handler>self.OnXTerm</handler>
+       <command>r.le.setup</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Analyze landscape</label>
+       <help>Contains a set of measures for attributes, diversity, texture, juxtaposition, and edge.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.le.pixel</command>
+       </menuitem>
+      <menuitem>
+       <label>Analyze patches</label>
+       <help>Calculates attribute, patch size, core (interior) size, shape, fractal dimension, and perimeter measures for sets of patches in a landscape.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.le.patch</command>
+       </menuitem>
+      <menuitem>
+       <label>Output</label>
+       <help>Displays the boundary of each r.le patch and shows how the boundary is traced, displays the attribute, size, perimeter and shape indices for each patch and saves the data in an output file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.le.trace</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Landscape patch analysis</label>
+     <items>
+      <menuitem>
+       <label>Set up sampling and analysis framework</label>
+       <help>Configuration editor for r.li.'index'</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.setup</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Edge density</label>
+       <help>Calculates edge density index on a raster map, using a 4 neighbour algorithm</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.edgedensity</command>
+       </menuitem>
+      <menuitem>
+       <label>Contrast weighted edge density</label>
+       <help>Calculates contrast weighted edge density index on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.cwed</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Patch area mean</label>
+       <help>Calculates mean patch size index on a raster map, using a 4 neighbour algorithm</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.mps</command>
+       </menuitem>
+      <menuitem>
+       <label>Patch area range</label>
+       <help>Calculates range of patch area size on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.padrange</command>
+       </menuitem>
+      <menuitem>
+       <label>Patch area Std Dev</label>
+       <help>Calculates standard deviation of patch area a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.padsd</command>
+       </menuitem>
+      <menuitem>
+       <label>Patch area Coeff Var</label>
+       <help>Calculates coefficient of variation of patch area on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.padcv</command>
+       </menuitem>
+      <menuitem>
+       <label>Patch density</label>
+       <help>Calculates patch density index on a raster map, using a 4 neighbour algorithm</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.patchdensity</command>
+       </menuitem>
+      <menuitem>
+       <label>Patch number</label>
+       <help>Calculates patch number index on a raster map, using a 4 neighbour algorithm.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.patchnum</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Dominance's diversity</label>
+       <help>Calculates dominance's diversity index on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.dominance</command>
+       </menuitem>
+      <menuitem>
+       <label>Shannon's diversity</label>
+       <help>Calculates Shannon's diversity index on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.shannon</command>
+       </menuitem>
+      <menuitem>
+       <label>Simpson's diversity</label>
+       <help>Calculates Simpson's diversity index on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.simpson</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Richness</label>
+       <help>Calculates dominance's diversity index on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.richness</command>
+       </menuitem>
+      <menuitem>
+       <label>Shape index</label>
+       <help>Calculates shape index on a raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.li.shape</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Wildfire modeling</label>
+     <items>
+      <menuitem>
+       <label>Rate of spread</label>
+       <help>Generates three, or four raster map layers showing 1) the base (perpendicular) rate of spread (ROS), 2) the maximum (forward) ROS, 3) the direction of the maximum ROS, and optionally 4) the maximum potential spotting distance.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.ros</command>
+       </menuitem>
+      <menuitem>
+       <label>Least-cost spread paths</label>
+       <help>Recursively traces the least cost path backwards to cells from which the cumulative cost was determined.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.spreadpath</command>
+       </menuitem>
+      <menuitem>
+       <label>Anisotropic spread simulation</label>
+       <help>It optionally produces raster maps to contain backlink UTM coordinates for tracing spread paths.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.spread</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Change category values and labels</label>
+     <items>
+      <menuitem>
+       <label>Interactively edit category values</label>
+       <help>Interactively edit cell values in a raster map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>d.rast.edit</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Reclassify by size</label>
+       <help>Reclasses a raster map greater or less than user specified area size (in hectares)</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.reclass.area</command>
+       </menuitem>
+      <menuitem>
+       <label>Reclassify interactively</label>
+       <help>Reclassify raster categories interactively by entering reclass rules</help>
+       <handler>self.RulesCmd</handler>
+       <command>r.reclass</command>
+       </menuitem>
+      <menuitem>
+       <label>Reclassify using rules file</label>
+       <help>Creates a new map layer whose category values are based upon a reclassification of the categories in an existing raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.reclass</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Recode interactively</label>
+       <help>Recode raster categories interactively by entering recode rules (create new raster map)</help>
+       <handler>self.RulesCmd</handler>
+       <command>r.recode</command>
+       </menuitem>
+      <menuitem>
+       <label>Recode using rules file</label>
+       <help>r.recode.rules - Use ascii rules file to recode categories in raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.recode.file</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Rescale</label>
+       <help>Rescales the range of category values in a raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.rescale</command>
+       </menuitem>
+      <menuitem>
+       <label>Rescale with histogram</label>
+       <help>Rescales histogram equalized the range of category values in a raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.rescale.eq</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menuitem>
+     <label>Concentric circles</label>
+     <help>Creates a raster map containing concentric rings around a given point.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r.circle</command>
+     </menuitem>
+    <menu>
+     <label>Generate random cells</label>
+     <items>
+      <menuitem>
+       <label>Random cells</label>
+       <help>Generates random cell values with spatial dependence.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.random.cells</command>
+       </menuitem>
+      <menuitem>
+       <label>Random cells and vector points</label>
+       <help>Creates a raster map layer and vector point map containing randomly located sites.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.random</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Generate surfaces</label>
+     <items>
+      <menuitem>
+       <label>Fractal surface</label>
+       <help>Creates a fractal surface of a given fractal dimension.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.surf.fractal</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Gaussian kernel density surface</label>
+       <help>Generates a raster density map from vector points data using a moving 2D isotropic Gaussian kernel or optionally generates a vector density map on vector network with a 1D kernel.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.kernel</command>
+       </menuitem>
+      <menuitem>
+       <label>Gaussian deviates surface</label>
+       <help>GRASS module to produce a raster map layer of gaussian deviates whose mean and standard deviation can be expressed by the user. It uses a gaussian random number generator.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.surf.gauss</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Plane</label>
+       <help>Creates raster plane map given dip (inclination), aspect (azimuth) and one point.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.plane</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Random deviates surface</label>
+       <help>Produces a raster map layer of uniform random deviates whose range can be expressed by the user.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.surf.random</command>
+       </menuitem>
+      <menuitem>
+       <label>Random surface with spatial dependence</label>
+       <help>Generates random surface(s) with spatial dependence.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.random.surface</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Generate contour lines</label>
+     <help>Produces a vector map layer of specified contours from a raster map layer.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r.contour</command>
+     </menuitem>
+    <menu>
+     <label>Interpolate surfaces</label>
+     <items>
+      <menuitem>
+       <label>Bilinear from raster points</label>
+       <help>Bilinear interpolation utility for raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.bilinear</command>
+       </menuitem>
+      <menuitem>
+       <label>Bilinear and bicubic from vector points</label>
+       <help>Bicubic or bilinear spline interpolation with Tykhonov regularization.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.surf.bspline</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>IDW from raster points</label>
+       <help>Surface interpolation utility for raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.surf.idw</command>
+       </menuitem>
+      <menuitem>
+       <label>IDW from vector points</label>
+       <help>Surface interpolation from vector point data by Inverse Distance Squared Weighting.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.surf.idw</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Raster contours</label>
+       <help>Surface generation program from rasterized contours.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.surf.contour</command>
+       </menuitem>
+      <menuitem>
+       <label>Regularized spline tension</label>
+       <help>Spatial approximation and topographic analysis from given point or isoline data in vector format to floating point raster format using regularized spline with tension.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.surf.rst</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Fill NULL cells</label>
+       <help>Fills no-data areas in raster maps using v.surf.rst splines interpolation</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.fillnulls</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Report and statistics</label>
+     <items>
+      <menuitem>
+       <label>Basic raster metadata</label>
+       <help>Output basic information about a raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.info</command>
+       </menuitem>
+      <menuitem>
+       <label>Manage category information</label>
+       <help>Manages category values and labels associated with user-specified raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.category</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>General statistics</label>
+       <help>Generates area statistics for raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.stats</command>
+       </menuitem>
+      <menuitem>
+       <label>Range of category values</label>
+       <help>Prints terse list of category values found in a raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.describe</command>
+       </menuitem>
+      <menuitem>
+       <label>Sum category values</label>
+       <help>Sums up the raster cell values.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.sum</command>
+       </menuitem>
+      <menuitem>
+       <label>Sum area by raster map and category</label>
+       <help>Reports statistics for raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.report</command>
+       </menuitem>
+      <menuitem>
+       <label>Statistics for clumped cells</label>
+       <help>Calculates the volume of data "clumps", and (optionally) produces a GRASS vector points map containing the calculated centroids of these clumps.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.volume</command>
+       </menuitem>
+      <menuitem>
+       <label>Total corrected area</label>
+       <help>Surface area estimation for rasters.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.surf.area</command>
+       </menuitem>
+      <menuitem>
+       <label>Univariate raster statistics</label>
+       <help>Calculates univariate statistics from the non-null cells of a raster map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.univar</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Sample transects</label>
+       <help>Outputs the raster map layer values lying on user-defined line(s).</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.profile</command>
+       </menuitem>
+      <menuitem>
+       <label>Sample transects (bearing/distance)</label>
+       <help>Outputs raster map layer values lying along user defined transect line(s).</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.transect</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Covariance/correlation</label>
+       <help>Outputs a covariance/correlation matrix for user-specified raster map layer(s).</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.covar</command>
+       </menuitem>
+      <menuitem>
+       <label>Linear regression</label>
+       <help>Calculates linear regression from two raster maps: y = a + b*x</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.regression.line</command>
+       </menuitem>
+      <menuitem>
+       <label>Mutual category occurrences</label>
+       <help>Tabulates the mutual occurrence (coincidence) of categories for two raster map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.coin</command>
+       </menuitem>
+      </items>
+     </menu>
+    </items>
+   </menu>
+  <menu>
+   <label>Vector</label>
+   <items>
+    <menu>
+     <label>Develop vector map</label>
+     <items>
+      <menuitem>
+       <label>Create new vector map</label>
+       <help>Create new empty vector map</help>
+       <handler>self.OnNewVector</handler>
+       </menuitem>
+      <menuitem>
+       <label>Edit vector map (non-interactively)</label>
+       <help>Edits a vector map, allows adding, deleting and modifying selected vector features.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.edit</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Create/rebuild topology</label>
+       <help>Creates topology for GRASS vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.build</command>
+       </menuitem>
+      <menuitem>
+       <label>Clean vector map</label>
+       <help>Toolset for cleaning topology of vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.clean</command>
+       </menuitem>
+      <menuitem>
+       <label>Generalization</label>
+       <help>Vector based generalization.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.generalize</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Convert object types</label>
+       <help>Change the type of geometry elements.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.type.py</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Add centroids</label>
+       <help>Adds missing centroids to closed boundaries.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.centroids</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Build polylines</label>
+       <help>Builds polylines from lines or boundaries.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.build.polylines</command>
+       </menuitem>
+      <menuitem>
+       <label>Split polylines</label>
+       <help>Creates points/segments from input vector lines and positions.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.segment</command>
+       </menuitem>
+      <menuitem>
+       <label>Parallel lines</label>
+       <help>Create parallel line to input lines</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.parallel</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Dissolve boundaries</label>
+       <help>Dissolves boundaries between adjacent areas sharing a common category number or attribute.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.dissolve</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Create 3D vector over raster</label>
+       <help>Converts vector map to 3D by sampling of elevation raster map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.drape</command>
+       </menuitem>
+      <menuitem>
+       <label>Extrude 3D vector map</label>
+       <help>Extrudes flat vector object to 3D with defined height.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.extrude</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Link to OGR</label>
+       <help>Creates a new vector as a read-only link to OGR layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.external</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Create labels</label>
+       <help>Creates paint labels for a vector map from attached attributes.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.label</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Reposition vector map</label>
+       <help>Performs an affine transformation (shift, scale and rotate, or GPCs) on vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.transform</command>
+       </menuitem>
+      <menuitem>
+       <label>Reproject vector map</label>
+       <help>Allows projection conversion of vector maps.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.proj</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Manage colors</label>
+     <items>
+      <menuitem>
+       <label>Color tables</label>
+       <help>Set color rules for features in a vector using a numeric attribute column.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.colors</command>
+       </menuitem>
+      <menuitem>
+       <label>Color rules</label>
+       <help>Set colors interactively by entering color rules</help>
+       <handler>self.RulesCmd</handler>
+       <command>vcolors</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menuitem>
+     <label>Query with attributes</label>
+     <help>Selects vector objects from an existing vector map and creates a new map containing only the selected objects.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.extract</command>
+     </menuitem>
+    <menuitem>
+     <label>Query with coordinate(s)</label>
+     <help>Queries a vector map layer at given locations.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.what</command>
+     </menuitem>
+    <menuitem>
+     <label>Query with another vector map</label>
+     <help>Select features from ainput by features from binput</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.select</command>
+     </menuitem>
+    <separator/>
+    <menuitem>
+     <label>Buffer vectors</label>
+     <help>Creates a buffer around features of given type (areas must contain centroid).</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.buffer</command>
+     </menuitem>
+    <menu>
+     <label>Lidar analysis</label>
+     <items>
+      <menuitem>
+       <label>Detect edges</label>
+       <help>Detects the object's edges from a LIDAR data set.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.lidar.edgedetection</command>
+       </menuitem>
+      <menuitem>
+       <label>Detect interiors</label>
+       <help>Building contour determination and Region Growing algorithm for determining the building inside</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.lidar.growing</command>
+       </menuitem>
+      <menuitem>
+       <label>Correct and reclassify objects</label>
+       <help>Correction of the v.lidar.growing output. It is the last of the three algorithms for LIDAR filtering.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.lidar.correction</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Linear referencing</label>
+     <items>
+      <menuitem>
+       <label>Create LRS</label>
+       <help>Create Linear Reference System</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.lrs.create</command>
+       </menuitem>
+      <menuitem>
+       <label>Create stationing</label>
+       <help>Create stationing from input lines, and linear reference system</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.lrs.label</command>
+       </menuitem>
+      <menuitem>
+       <label>Create points/segments</label>
+       <help>Creates points/segments from input lines, linear reference system and positions read from stdin or a file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.lrs.segment</command>
+       </menuitem>
+      <menuitem>
+       <label>Find line id and offset</label>
+       <help>Finds line id and real km+offset for given points in vector map using linear reference system.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.lrs.where</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Nearest features</label>
+     <help>Finds the nearest element in vector map 'to' for elements in vector map 'from'.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.distance</command>
+     </menuitem>
+    <menu>
+     <label>Network analysis</label>
+     <items>
+      <menuitem>
+       <label>Allocate subnets</label>
+       <help>Centre node must be opened (costs &gt;= 0). Costs of centre node are used in calculation</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.net.alloc</command>
+       </menuitem>
+      <menuitem>
+       <label>Network maintenance</label>
+       <help>Network maintenance.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.net</command>
+       </menuitem>
+      <menuitem>
+       <label>Visibility network</label>
+       <help>Visibility graph construction.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.net.visibility</command>
+       </menuitem>
+      <menuitem>
+       <label>Shortest path</label>
+       <help>Finds shortest path on vector network.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.net.path</command>
+       </menuitem>
+      <menuitem>
+       <label>Display shortest route (requires XTerm)</label>
+       <help>Display shortest route along network between 2 nodes (visualization only, requires XTerm))</help>
+       <handler>self.OnXTerm</handler>
+       <command>d.path</command>
+       </menuitem>
+      <menuitem>
+       <label>Split net</label>
+       <help>Splits net to bands between cost isolines (direction from centre). Centre node must be opened (costs &gt;= 0). Costs of centre node are used in calculation.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.net.iso</command>
+       </menuitem>
+      <menuitem>
+       <label>Steiner tree</label>
+       <help>Note that 'Minimum Steiner Tree' problem is NP-hard and heuristic algorithm is used in this module so the result may be sub optimal</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.net.steiner</command>
+       </menuitem>
+      <menuitem>
+       <label>Traveling salesman analysis</label>
+       <help>Note that TSP is NP-hard, heuristic algorithm is used by this module and created cycle may be sub optimal</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.net.salesman</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Overlay vector maps</label>
+     <items>
+      <menuitem>
+       <label>Overlay vector maps</label>
+       <help>Overlays two vector maps.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.overlay</command>
+       </menuitem>
+      <menuitem>
+       <label>Patch vector maps</label>
+       <help>Create a new vector map layer by combining other vector map layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.patch</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Change attributes</label>
+     <items>
+      <menuitem>
+       <label>Manage or report categories</label>
+       <help>Attach, delete or report vector categories to map geometry.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.category</command>
+       </menuitem>
+      <menuitem>
+       <label>Reclassify objects interactively</label>
+       <help>Reclassify vector objects interactively by entering SQL rules</help>
+       <handler>self.RulesCmd</handler>
+       <command>v.reclass</command>
+       </menuitem>
+      <menuitem>
+       <label>Reclassify objects using rules file</label>
+       <help>Changes vector category values for an existing vector map according to results of SQL queries or a value in attribute table column.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.reclass</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menuitem>
+     <label>Generate area for current region</label>
+     <help>Create a new vector from the current region.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.in.region</command>
+     </menuitem>
+    <menu>
+     <label>Generate areas from points</label>
+     <items>
+      <menuitem>
+       <label>Convex hull</label>
+       <help>Uses a GRASS vector points map to produce a convex hull vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.hull</command>
+       </menuitem>
+      <menuitem>
+       <label>Delaunay triangles</label>
+       <help>Creates a Delaunay triangulation from an input vector map containing points or centroids.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.delaunay</command>
+       </menuitem>
+      <menuitem>
+       <label>Voronoi diagram/Thiessen polygons</label>
+       <help>Creates a Voronoi diagram from an input vector map containing points or centroids.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.voronoi</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Generate grid</label>
+     <help>Creates a GRASS vector map of a user-defined grid.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.mkgrid</command>
+     </menuitem>
+    <menu>
+     <label>Generate points</label>
+     <items>
+      <menuitem>
+       <label>Generate from database</label>
+       <help>Creates new vector (points) map from database table containing coordinates.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.in.db</command>
+       </menuitem>
+      <menuitem>
+       <label>Generate points along lines</label>
+       <help>Create points along input lines in new vector with 2 layers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.to.points</command>
+       </menuitem>
+      <menuitem>
+       <label>Generate random points</label>
+       <help>Randomly generate a 2D/3D vector points map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.random</command>
+       </menuitem>
+      <menuitem>
+       <label>Perturb points</label>
+       <help>Random location perturbations of GRASS vector points</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.perturb</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menuitem>
+     <label>Remove outliers in point sets</label>
+     <help>Removes outliers from vector point data.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.outlier</command>
+     </menuitem>
+    <menuitem>
+     <label>Test/training point sets</label>
+     <help>Randomly partition points into test/train sets.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.kcv</command>
+     </menuitem>
+    <separator/>
+    <menuitem>
+     <label>Update area attributes from raster</label>
+     <help>Calculates univariate statistics from a GRASS raster map based on vector polygons and uploads statistics to new attribute columns.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.rast.stats</command>
+     </menuitem>
+    <menuitem>
+     <label>Update point attributes from areas</label>
+     <help>Uploads vector values at positions of vector points to the table.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.what.vect</command>
+     </menuitem>
+    <menu>
+     <label>Update point attributes from raster</label>
+     <items>
+      <menuitem>
+       <label>Sample raster maps at point locations</label>
+       <help>Uploads raster values at positions of vector points to the table.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.what.rast</command>
+       </menuitem>
+      <menuitem>
+       <label>Sample raster neighborhood around points</label>
+       <help>Samples a raster map at vector point locations.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.sample</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Reports and statistics</label>
+     <items>
+      <menuitem>
+       <label>Basic vector metadata</label>
+       <help>Outputs basic information about a user-specified vector map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.info</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Report topology by category</label>
+       <help>Reports geometry statistics for vectors.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.report</command>
+       </menuitem>
+      <menuitem>
+       <label>Upload or report topology</label>
+       <help>Populate database values from vector features.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.to.db</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Univariate attribute statistics</label>
+       <help>Calculates univariate statistics for attribute. Variance and standard deviation is calculated only for points if specified.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.univar</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Quadrat indices</label>
+       <help>Indices for quadrat counts of sites lists.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.qcount</command>
+       </menuitem>
+      <menuitem>
+       <label>Test normality</label>
+       <help>Tests for normality for points.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.normal</command>
+       </menuitem>
+      </items>
+     </menu>
+    </items>
+   </menu>
+  <menu>
+   <label>Imagery</label>
+   <items>
+    <menu>
+     <label>Develop images and groups</label>
+     <items>
+      <menuitem>
+       <label>Create/edit group</label>
+       <help>Creates, edits, and lists groups and subgroups of imagery files.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.group</command>
+       </menuitem>
+      <menuitem>
+       <label>Target group</label>
+       <help>Targets an imagery group to a GRASS location and mapset.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.target</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Mosaic images</label>
+       <help>Mosaics up to 4 images and extends colormap; creates map *.mosaic</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.image.mosaic</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Manage image colors</label>
+     <items>
+      <menuitem>
+       <label>Color balance for RGB</label>
+       <help>Auto-balancing of colors for LANDSAT images</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.landsat.rgb</command>
+       </menuitem>
+      <menuitem>
+       <label>HIS to RGB</label>
+       <help>Hue-intensity-saturation (his) to red-green-blue (rgb) raster map color transformation function.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.his.rgb</command>
+       </menuitem>
+      <menuitem>
+       <label>RGB to HIS</label>
+       <help>Red-green-blue (rgb) to hue-intensity-saturation (his) raster map color transformation function</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.rgb.his</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Rectify image or raster</label>
+     <help>Rectifies an image by computing a coordinate transformation for each pixel in the image based on the control points</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>i.rectify</command>
+     </menuitem>
+    <menuitem>
+     <label>Ortho photo rectification (requires Xterm)</label>
+     <help>Ortho Photo rectification</help>
+     <handler>self.OnXTerm</handler>
+     <command>i.ortho.photo</command>
+     </menuitem>
+    <separator/>
+    <menu>
+     <label>Basic RS processing</label>
+     <items>
+      <menuitem>
+       <label>MODIS Quality Flags</label>
+       <help>Extract Modis Quality flags as raster values.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.modis.qc</command>
+       </menuitem>
+      <menuitem>
+       <label>Latitude/longitude maps</label>
+       <help>Creates Latitude or Longitude map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.latlong</command>
+       </menuitem>
+      <menuitem>
+       <label>Potential Sunshine Hours</label>
+       <help>Creates Potential Sunshine Hours map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.sunhours</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Albedo</label>
+       <help>Albedo from Modis, Aster, Landsat, AVHRR.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.albedo</command>
+       </menuitem>
+      <menuitem>
+       <label>Vegetation Indices</label>
+       <help>14 types of vegetation Indices.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.vi</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Emissivity</label>
+       <help>Emissivity from NDVI.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.emissivity</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menuitem>
+     <label>Brovey sharpening</label>
+     <help>Brovey transform to merge multispectral and high-res panchromatic channels</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>i.fusion.brovey</command>
+     </menuitem>
+    <menu>
+     <label>Classify image</label>
+     <items>
+      <menuitem>
+       <label>Clustering input for unsupervised classification</label>
+       <help>The resulting signature file is used as input for i.maxlik, to generate an unsupervised image classification.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.cluster</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Maximum likelihood classification (MLC)</label>
+       <help>Classification is based on the spectral signature information generated by either i.cluster, i.class, or i.gensig.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.maxlik</command>
+       </menuitem>
+      <menuitem>
+       <label>Sequential maximum a posteriori classification (SMAP)</label>
+       <help>Performs contextual image classification using sequential maximum a posteriori (SMAP) estimation.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.smap</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Interactive input for supervised classification (requires Xterm)</label>
+       <help>Interactive input for supervised classification</help>
+       <handler>self.OnXTerm</handler>
+       <command>i.class</command>
+       </menuitem>
+      <menuitem>
+       <label>Input for supervised MLC</label>
+       <help>Generates statistics for i.maxlik from raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.gensig</command>
+       </menuitem>
+      <menuitem>
+       <label>Input for supervised SMAP</label>
+       <help>Generate statistics for i.smap from raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.gensigset</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Filter image</label>
+     <items>
+      <menuitem>
+       <label>Edge detection</label>
+       <help>Zero-crossing "edge detection" raster function for image processing.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.zc</command>
+       </menuitem>
+      <menuitem>
+       <label>Matrix/convolving filter</label>
+       <help>Raster map matrix filter.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.mfilter</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Histogram</label>
+     <help>Generate histogram of image</help>
+     <handler>self.DispHistogram</handler>
+     </menuitem>
+    <menuitem>
+     <label>Spectral response</label>
+     <help>displays spectral response at user specified locations in group or images</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>i.spectral</command>
+     </menuitem>
+    <menuitem>
+     <label>Tasseled cap vegetation index</label>
+     <help>Tasseled Cap (Kauth Thomas) transformation for LANDSAT-TM data</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>i.tasscap</command>
+     </menuitem>
+    <menu>
+     <label>Transform image</label>
+     <items>
+      <menuitem>
+       <label>Canonical correlation</label>
+       <help>Canonical components analysis (cca) program for image processing.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.cca</command>
+       </menuitem>
+      <menuitem>
+       <label>Principal components</label>
+       <help>Principal components analysis (pca) program for image processing.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.pca</command>
+       </menuitem>
+      <menuitem>
+       <label>Fast Fourier</label>
+       <help>Fast Fourier Transform (FFT) for image processing.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.fft</command>
+       </menuitem>
+      <menuitem>
+       <label>Inverse Fast Fourier</label>
+       <help>Inverse Fast Fourier Transform (IFFT) for image processing.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.ifft</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menuitem>
+     <label>Atmospheric correction</label>
+     <help>Performs atmospheric correction using the 6S algorithm.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>i.atcorr</command>
+     </menuitem>
+    <separator/>
+    <menu>
+     <label>Report and statistics</label>
+     <items>
+      <menuitem>
+       <label>Bit pattern comparison </label>
+       <help>Compares bit patterns with a raster map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.bitpattern</command>
+       </menuitem>
+      <menuitem>
+       <label>Kappa analysis</label>
+       <help>Calculate error matrix and kappa parameter for accuracy assessment of classification result.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r.kappa</command>
+       </menuitem>
+      <menuitem>
+       <label>OIF for LandSat TM</label>
+       <help>Calculates Optimum-Index-Factor table for LANDSAT TM bands 1-5, &amp; 7</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>i.oif</command>
+       </menuitem>
+      </items>
+     </menu>
+    </items>
+   </menu>
+  <menu>
+   <label>Volumes</label>
+   <items>
+    <menu>
+     <label>Develop volumes</label>
+     <items>
+      <menuitem>
+       <label>Manage 3D NULL values</label>
+       <help>Explicitly create the 3D NULL-value bitmap file.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.null</command>
+       </menuitem>
+      <menuitem>
+       <label>Manage timestamp</label>
+       <help>Print/add/remove a timestamp for a 3D raster map</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.timestamp</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menuitem>
+     <label>3D Mask</label>
+     <help>Establishes the current working 3D raster mask.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r3.mask</command>
+     </menuitem>
+    <menuitem>
+     <label>3D raster map calculator</label>
+     <help>Map calculator for volumetric map algebra</help>
+     <handler>self.Disp3DMapCalculator</handler>
+     </menuitem>
+    <menuitem>
+     <label>Cross section</label>
+     <help>Creates cross section 2D raster map from 3d raster map based on 2D elevation map</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>r3.cross.rast</command>
+     </menuitem>
+    <menuitem>
+     <label>Interpolate volume from points</label>
+     <help>Interpolates point data to a G3D grid volume using regularized spline with tension (RST) algorithm.</help>
+     <handler>self.OnMenuCmd</handler>
+     <command>v.vol.rst</command>
+     </menuitem>
+    <separator/>
+    <menu>
+     <label>Report and Statistics</label>
+     <items>
+      <menuitem>
+       <label>Basic volume metadata</label>
+       <help>Outputs basic information about a user-specified 3D raster map layer.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>r3.info</command>
+       </menuitem>
+      </items>
+     </menu>
+    </items>
+   </menu>
+  <menu>
+   <label>Database</label>
+   <items>
+    <menu>
+     <label>Database information</label>
+     <items>
+      <menuitem>
+       <label>Describe table</label>
+       <help>Describes a table in detail.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.describe</command>
+       </menuitem>
+      <menuitem>
+       <label>List columns</label>
+       <help>List all columns for a given table.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.columns</command>
+       </menuitem>
+      <menuitem>
+       <label>List drivers</label>
+       <help>List all database drivers.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.drivers</command>
+       </menuitem>
+      <menuitem>
+       <label>List tables</label>
+       <help>Lists all tables for a given database.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.tables</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Manage databases</label>
+     <items>
+      <menuitem>
+       <label>Connect</label>
+       <help>Prints/sets general DB connection for current mapset and exits.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.connect</command>
+       </menuitem>
+      <menuitem>
+       <label>Login</label>
+       <help>Sets user/password for driver/database.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.login</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Copy table</label>
+       <help>Copy a table. Either 'from_table' (optionally with 'where') can be used or 'select' option, but not 'from_table' and 'select' at the same time.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.copy</command>
+       </menuitem>
+      <menuitem>
+       <label>New table</label>
+       <help>Creates and adds a new attribute table to a given layer of an existing vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.db.addtable</command>
+       </menuitem>
+      <menuitem>
+       <label>Remove table</label>
+       <help>Drops an attribute table.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.droptable</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Add columns</label>
+       <help>Adds one or more columns to the attribute table connected to a given vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.db.addcol</command>
+       </menuitem>
+      <menuitem>
+       <label>Change values</label>
+       <help>Allows to update a column in the attribute table connected to a vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.db.update</command>
+       </menuitem>
+      <menuitem>
+       <label>Rename column</label>
+       <help>Renames a column in the attribute table connected to a given vector map.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.db.renamecol</command>
+       </menuitem>
+      <separator/>
+      <menuitem>
+       <label>Test</label>
+       <help>Test database driver, database must exist and set by db.connect.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.test</command>
+       </menuitem>
+      </items>
+     </menu>
+    <menu>
+     <label>Query</label>
+     <items>
+      <menuitem>
+       <label>Query any table</label>
+       <help>Selects data from table.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.select</command>
+       </menuitem>
+      <menuitem>
+       <label>Query vector attribute data</label>
+       <help>Prints vector map attributes.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.db.select</command>
+       </menuitem>
+      <menuitem>
+       <label>SQL statement</label>
+       <help>Executes any SQL statement.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>db.execute</command>
+       </menuitem>
+      </items>
+     </menu>
+    <separator/>
+    <menu>
+     <label>Vector database connections</label>
+     <items>
+      <menuitem>
+       <label>Reconnect vector to database</label>
+       <help>Reconnects vectors to a new database.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.db.reconnect.all</command>
+       </menuitem>
+      <menuitem>
+       <label>Set vector map - database connection</label>
+       <help>Prints/sets DB connection for a vector map to attribute table.</help>
+       <handler>self.OnMenuCmd</handler>
+       <command>v.db.connect</command>
+       </menuitem>
+      </items>
+     </menu>
+    </items>
+   </menu>
+  <menu>
+   <label>Help</label>
+   <items>
+    <menuitem>
+     <label>GRASS GIS help</label>
+     <help>Display the HTML man pages of GRASS</help>
+     <handler>self.RunMenuCmd</handler>
+     <command>g.manual -i</command>
+     </menuitem>
+    <menuitem>
+     <label>GRASS GIS GUI help</label>
+     <help>Display the HTML man pages of GRASS</help>
+     <handler>self.RunMenuCmd</handler>
+     <command>g.manual wxGUI</command>
+     </menuitem>
+    <menuitem>
+     <label>About GRASS GIS</label>
+     <help>About GRASS GIS</help>
+     <handler>self.OnAboutGRASS</handler>
+     </menuitem>
+    </items>
+   </menu>
+  </menubar>
+ </menudata>



More information about the grass-commit mailing list