[GRASS-SVN] r44981 - grass-addons/imagery/gipe

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 12 00:44:30 EST 2011


Author: ychemin
Date: 2011-01-11 21:44:30 -0800 (Tue, 11 Jan 2011)
New Revision: 44981

Removed:
   grass-addons/imagery/gipe/Makefile.gui
   grass-addons/imagery/gipe/Makefile.imagery
   grass-addons/imagery/gipe/Makefile.raster
   grass-addons/imagery/gipe/Makefile.scripts
   grass-addons/imagery/gipe/Makefile.swig
   grass-addons/imagery/gipe/gmmenu.tcl
   grass-addons/imagery/gipe/install_yanns_grass.sh
   grass-addons/imagery/gipe/menudata.py
Log:
Some clean up

Deleted: grass-addons/imagery/gipe/Makefile.gui
===================================================================
--- grass-addons/imagery/gipe/Makefile.gui	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/Makefile.gui	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,23 +0,0 @@
-MODULE_TOPDIR = ..
-
-include $(MODULE_TOPDIR)/include/Make/Dir.make
-
-SUBDIRS = icons
-
-TCLTKBASED = tcltk
-PYTHONBASED = wxpython
-
-#compile if TCLTKBASED present:
-ifneq ($(strip $(TCLTKLIBS)),)
-    SUBDIRS += $(TCLTKBASED)
-#endif
-
-#compile if WXPYTHONBASED present:
-#ifneq ($(strip $(WXPYTHONLIBS)),)
-    SUBDIRS += $(PYTHONBASED)
-endif
-
-default: subdirs
-
-clean: cleansubdirs
-

Deleted: grass-addons/imagery/gipe/Makefile.imagery
===================================================================
--- grass-addons/imagery/gipe/Makefile.imagery	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/Makefile.imagery	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,39 +0,0 @@
-MODULE_TOPDIR = ../
-
-include $(MODULE_TOPDIR)/include/Make/Dir.make
-SUBDIRS = \
-	i.landsat.toar \
-	i.dn2potrad.l5 \
-	i.dn2potrad.l7 \
-	i.dn2ref.ast \
-	i.eb.disp \
-	i.eb.deltat \
-	i.eb.h0 \
-	i.eb.h_iter \
-	i.eb.h_SEBAL95 \
-	i.eb.molength \
-	i.eb.netrad \
-	i.eb.psi \
-	i.eb.rah \
-	i.eb.rohair \
-	i.eb.ublend \
-	i.eb.ustar \
-	i.eb.wetdrypix \
-	i.eb.z0m \
-	i.eb.z0m0 \
-	i.evapo.potrad \
-	i.evapo.PT \
-	i.evapo.senay \
-	i.evapo.TSA \
-	i.lmf \
-	i.modis.stateqa \
-	i.vi.mpi \
-	i.water \
-	i.wi 
-
-
-default: subdirs htmldir
-
-clean: cleansubdirs
-
-PGM = imageryintro

Deleted: grass-addons/imagery/gipe/Makefile.raster
===================================================================
--- grass-addons/imagery/gipe/Makefile.raster	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/Makefile.raster	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,23 +0,0 @@
-MODULE_TOPDIR = ..
-
-SUBDIRS = \
-	r.evapo.MH \
-	r.evapo.PM \
-	r.gaswap.serial \
-	r.hydro.CASC2D \
-	r.inund.fluv \
-	r.out.vic \
-	r.soilusda2tex \
-	r.soiltex2prop 
-
-include $(MODULE_TOPDIR)/include/Make/Platform.make
-
-PGM = rasterintro
-
-include $(MODULE_TOPDIR)/include/Make/Dir.make
-
-default: htmldir
-
-htmldir: parsubdirs 
-
-clean: cleansubdirs

Deleted: grass-addons/imagery/gipe/Makefile.scripts
===================================================================
--- grass-addons/imagery/gipe/Makefile.scripts	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/Makefile.scripts	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,12 +0,0 @@
-MODULE_TOPDIR = ..
-
-include $(MODULE_TOPDIR)/include/Make/Dir.make
-
-
-
-SUBDIRS = \
-	m.gem 
-
-default: subdirs
-
-clean: cleansubdirs

Deleted: grass-addons/imagery/gipe/Makefile.swig
===================================================================
--- grass-addons/imagery/gipe/Makefile.swig	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/Makefile.swig	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,12 +0,0 @@
-MODULE_TOPDIR = ..
-
-include $(MODULE_TOPDIR)/include/Make/Dir.make
-include $(MODULE_TOPDIR)/include/Make/Doxygen.make
-
-SUBDIRS = python
-
-default: subdirs
-#	@echo "Please run 'make' in the individual subdirectories"
-
-# doxygen:
-DOXNAME=swig

Deleted: grass-addons/imagery/gipe/gmmenu.tcl
===================================================================
--- grass-addons/imagery/gipe/gmmenu.tcl	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/gmmenu.tcl	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,730 +0,0 @@
-###############################################################
-# 	File:		gmmenu.tcl
-#	Purpose:	menu file for GRASS GIS Manager
-#	Author:		Michael Barton, Arizona State University
-#				Based originally on menu for d.m and tcltkgrass
-#				Additions by Cedrick Shock and Benjamin Ducke
-# 	COPYRIGHT:	(C) 2006-2007 by the GRASS Development Team
-#               This program is free software under the GNU General Public
-#               License (>=v2). Read the file COPYING that comes with GRASS
-#               for details.
-###############################################################
-
-# our job is simply to make a variable called descmenu
-
-#source "$env(GISBASE)/etc/gui/menus/menu.tcl"
-
-
-global execom 
-global mon
-global filename
-global devnull
-
-# Tear off menus (yes / no)
-global tmenu
-# Key to use for control (for menu accelerators)
-global keyctrl
-# The environment
-global env
-
-
-
-set XtnsMenu "False"
-set pathlist {}
-set menulist {}
-set menudatlist {}
-
-# Check for existence of xtnmenu.dat file and parse it
-# into an extensions menu
-
-lappend menudatlist "$env(GISBASE)/etc/xtnmenu.dat"
-if {[info exists env(GRASS_ADDON_ETC)]} {
-    set pathlist [split $env(GRASS_ADDON_ETC) ":"]
-    foreach path $pathlist {
-        lappend menudatlist "$path/xtnmenu.dat"
-    }
-}
-
-foreach menudat $menudatlist {
-    if {[file exists $menudat]} {	
-        if { [lsearch $menudatlist $menudat] > 0} {lappend menulist "separator"}
-        if {![catch {open $menudat r} menudef]} {
-            while {[gets $menudef menuline] >= 0} {
-                set menuline [string trim $menuline]
-                if {[string first # $menuline] == 0 } {
-                    continue}
-                set menuline [split $menuline ":"]
-                set menulevel [lindex $menuline 0]
-                set menuitem [G_msg [lindex $menuline 1]]
-                set menucmd "execute "
-                append menucmd [lindex $menuline 2]
-                set menuhelp [G_msg [lindex $menuline 3]]
-                # add if statement to read comments here
-                if {$menuitem == "separator"} {
-                    lappend menulist "separator"
-                } else { 
-                    set line [list command $menuitem {} \
-                        $menuhelp {} -command $menucmd]
-    
-                    lappend menulist $line
-                }
-            }
-            if {[catch {close $menudef} error]} {
-                GmLib::errmsg $error ["Error reading xtnmenu.dat file"]
-            }
-        }
-        set XtnsMenu "True"
-    }
-    
-}
-		
-
-# This is the menu. 
-
-set descmenu [subst  {
- {[G_msg "&File"]} all file $tmenu {
-	{cascad {[G_msg "Workspace"]} {} "" $tmenu {			
-		{command {[G_msg "Open..."]} {} "Open gis.m workspace file" {} -accelerator $keyctrl-O -command { GmLib::OpenFileBox }}
-		{command {[G_msg "Save"]} {} "Save gis.m workspace file" {} -accelerator $keyctrl-S -command { GmLib::SaveFileBox }}
-		{command {[G_msg "Save as..."]} {} "Save gis.m workspace file as new name" {} -command { set filename($mon) "" ; GmLib::SaveFileBox }}
-		{command {[G_msg "Close"]} {} "Close gis.m workspace" {} -accelerator $keyctrl-W -command { GmTree::FileClose {}}}
-	}}
-	{separator}
-	{cascad {[G_msg "Import raster map"]} {} "" $tmenu {
-		{command {[G_msg "Multiple formats using GDAL"]} {} "r.in.gdal: Import multiple formats using GDAL" {} -command { execute r.in.gdal }}
-		{separator}
-		{command {[G_msg "Aggregate ASCII xyz"]} {} "r.in.xyz: Import aggregate ASCII xyz data into raster grid" {} -command { execute r.in.xyz }}
-		{command {[G_msg "ASCII grid"]} {} "r.in.ascii: Import ASCII grid (includes GRASS ASCII)" {} -command { execute r.in.ascii }}
-		{command {[G_msg "ASCII polygons and lines"]} {} "r.in.poly: Import polygons and lines from ASCII file" {} -command { execute r.in.poly }}
-		{separator}
-		{command {[G_msg "Binary"]} {} "r.in.bin: Import binary file (includes GTOPO30 format)" {} -command { execute r.in.bin }}
-		{command {[G_msg "ESRI grid"]} {} "r.in.arc: Import ESRI Arc/Info ASCII grid" {} -command { execute r.in.arc }}
-		{command {[G_msg "GRIDATB.FOR"]} {} "r.in.gridatbk: Import GRIDATB.FOR map file (TOPMODEL)" {} -command { execute r.in.gridatb }}
-		{command {[G_msg "MAT-File (v.4)"]} {} "r.in.mat: Import MAT-File (v.4) array (Matlab or Octave)" {} -command { execute r.in.mat }}
-		{command {[G_msg "SPOT NDVI"]} {} "i.in.spotvgt: Import SPOT vegetation NDVI data sets" {} -command { execute i.in.spotvgt }}
-		{command {[G_msg "SRTM hgt"]} {} "r.in.srtm: Import SRTM hgt files" {} -command { execute r.in.srtm }}
-		{command {[G_msg "Terra ASTER"]} {} "r.in.aster: Import Terra ASTER HDF files" {} -command { execute r.in.aster }}
-		{separator}
-		{command {[G_msg "Web Mapping Server"]} {} "r.in.wms: Import Web Mapping Server files" {} -command { execute r.in.wms }}
-	}}
-	{cascad {[G_msg "Import vector map"]} {} "" $tmenu {			
-		{command {[G_msg "Multiple formats using OGR"]} {} "v.in.ogr: Import multiple formats using OGR" {} -command { execute v.in.ogr }}
-		{separator}
-		{command {[G_msg "ASCII points or GRASS ASCII vector"]} {} "v.in.ascii: Import ASCII points file or GRASS ASCII vector file" {} -command { execute v.in.ascii }}
-		{command {[G_msg "Old GRASS vector"]} {} "v.convert: Import old GRASS vector format" {} -command { execute v.convert }}
-		{separator}
-		{command {[G_msg "DXF"]} {} "v.in.dxf: Import DXF file" {} -command { execute v.in.dxf }}
-		{command {[G_msg "ESRI e00"]} {} "v.in.e00: Import ESRI e00 format" {} -command { execute v.in.e00 }}
-		{command {[G_msg "Garmin GPS"]} {} "v.in.garmin: Import Garmin GPS waypoints/routes/tracks" {} -command { execute v.in.garmin }}
-		{command {[G_msg "GPSBabel GPS"]} {} "v.in.gpsbabel: Import GPS waypoints/routes/tracks using GPSBabel" {} -command { execute v.in.gpsbabel }}
-		{command {[G_msg "GEOnet"]} {} "v.in.gns: Import GEOnet Name server country files (US-NGA GNS)" {} -command { execute v.in.gns }}
-		{command {[G_msg "Matlab and MapGen"]} {} "v.in.mapgen: Import Matlab and MapGen files" {} -command { execute v.in.mapgen }}
-	}}
-	{cascad {[G_msg "Import grid 3D volume"]} {} "" $tmenu {			
-		{command {[G_msg "ASCII 3D"]} {} "r3.in.ascii: Import ASCII 3D file" {} -command { execute r3.in.ascii }}
-		{command {[G_msg "Vis5D"]} {} "r3.in.v5d: Import Vis5D file" {} -command { execute r3.in.v5d }}
-	}}
-	{separator}
-	{cascad {[G_msg "Export raster map"]} {} "" $tmenu {
-		{command {[G_msg "Multiple formats using GDAL"]} {} "r.out.gdal: Export multiple formats using GDAL" {} -command { execute r.out.gdal }}
-		{separator}
-		{command {[G_msg "ASCII grid"]} {} "r.out.ascii: Export ASCII grid (for GRASS, Surfer, Modflow, etc)" {} -command { execute r.out.ascii }}
-		{command {[G_msg "ASCII x,y,z"]} {} "r.out.xyz: Export ASCII x,y,z values of cell centers" {} -command { execute r.out.xyz }}
-		{separator}
-		{command {[G_msg "ESRI ASCII grid"]} {} "r.out.arc" {} -command { execute r.out.arc }}
-		{command {[G_msg "GRIDATB.FOR"]} {} "r.out.gridatb: Export GRIDATB.FOR map file (TOPMODEL)" {} -command { execute r.out.gridatb }}
-		{command {[G_msg "MAT-File (v.4)"]} {} "r.out.mat: Export MAT-File (v.4) array (Matlab or Octave)" {} -command { execute r.out.mat }}
-		{separator}
-		{command {[G_msg "Binary"]} {} "r.out.bin: Export binary file" {} -command { execute r.out.bin }}
-		{separator}
-		{command {[G_msg "MPEG-1"]} {} "r.out.mpeg: Export MPEG-1 animations" {} -command { execute r.out.mpeg }}
-		{command {[G_msg "PNG"]} {} "r.out.png: Export PNG image (not georeferenced)" {} -command { execute r.out.png }}
-		{command {[G_msg "PPM"]} {} "r.out.ppm: Export PPM image (24bit)" {} -command { execute r.out.ppm }}
-		{command {[G_msg "PPM from RGB"]} {} "r.out.ppm3: Export PPM image from red, green, blue raster maps" {} -command { execute r.out.ppm3 }}
-		{separator}
-		{command {[G_msg "POV-Ray"]} {} "r.out.pov: Export POV-Ray height-field" {} -command { execute r.out.pov }}
-		{command {[G_msg "TIFF"]} {} "r.out.tiff: Export TIFF image (8/24bit)" {} -command { execute r.out.tiff }}
-		{command {[G_msg "VIC"]} {} "r.out.vic: Export VIC ASCII file" {} -command { execute r.out.vic }}
-		{command {[G_msg "VRML"]} {} "r.out.vrml: Export VRML file" {} -command { execute r.out.vrml }}
-		{command {[G_msg "VTK"]} {} "r.out.vtk: Export VTK ASCII file" {} -command { execute r.out.vtk }}
-	}}
-	{cascad {[G_msg "Export vector map"]} {} "" $tmenu {			
-		{command {[G_msg "Multiple formats using OGR"]} {} "v.out.ogr: Export multiple formats using OGR (SHAPE, MapInfo etc)" {} -command { execute v.out.ogr }}
-		{separator}
-		{command {[G_msg "ASCII points or GRASS ASCII vector"]} {} "v.out.ascii: Export ASCII vector or point file/old GRASS ASCII vector file" {} -command { execute v.out.ascii }}
-		{command {[G_msg "DXF"]} {} "v.out.dxf: Export DXF file (ASCII)" {} -command { execute v.out.dxf }}
-		{command {[G_msg "POV-Ray"]} {} "v.out.pov: Export POV-Ray format" {} -command { execute v.out.pov }}
-		{command {[G_msg "SVG"]} {} "v.out.svg: Export SVG file" {} -command { execute v.out.svg }}
-		{command {[G_msg "VTK"]} {} "v.out.vtk: Export VTK ASCII file" {} -command { execute v.out.vtk }}
-	}}
-	{cascad {[G_msg "Export grid 3D volume"]} {} "" $tmenu {
-		{command {[G_msg "ASCII 3D"]} {} "r3.out.ascii: Export ASCII 3D file" {} -command { execute r3.out.ascii }}
-		{command {[G_msg "Vis5D"]} {} "r3.out.v5d: Export Vis5D file" {} -command { execute r3.out.v5d }}
-		{command {[G_msg "VTK"]} {} "r3.out.vtk: Export VTK ASCII file" {} -command { execute r3.out.vtk }}
-		}}
-	{separator}
-	{cascad {[G_msg "Manage maps and volumes"]} {} "" $tmenu {
-		{command {[G_msg "Copy"]} {} "g.copy: Copy maps" {} -command {execute g.copy }}
-		{separator}
-		{command {[G_msg "List"]} {} "g.list: List maps" {} -command {execute g.list}}
-		{command {[G_msg "List filtered"]} {} "g.mlist: List maps using expressions and 'wildcards'" {} -command {execute g.mlist }}
-		{separator}
-		{command {[G_msg "Rename"]} {} "g.rename: Rename maps" {} -command {execute g.rename }}
-		{separator}
-		{command {[G_msg "Delete"]} {} "g.remove: Delete maps" {} -command {execute g.remove }}
-		{command {[G_msg "Delete filtered"]} {} "g.mremove: Delete maps using expressions and 'wildcards'" {} -command {execute g.mremove }}
-	}}
-	{cascad {[G_msg "Map type conversions"]} {} "" $tmenu {
-		{command {[G_msg "Raster to vector"]} {} "r.to.vect: Convert aster to vector map" {} -command {execute r.to.vect }}
-		{command {[G_msg "Raster series to volume"]} {} "r.to.rast3: Convert raster map series to volume" {} -command {execute r.to.rast3 }}
-		{command {[G_msg "Raster 2.5D to volume"]} {} "r.to.rast3elev: Convert raster 2.5D map to volume" {} -command {execute r.to.rast3elev }}
-		{separator}
-		{command {[G_msg "Vector to raster"]} {} "v.to.rast: Convert vector to raster map" {} -command {execute v.to.rast }}
-		{command {[G_msg "Vector to volume"]} {} "v.to.rast3: Convert vector 3D points to volume voxels" {} -command {execute v.to.rast3 }}
-		{command {[G_msg "Sites to vector"]} {} "v.in.sites: Convert GRASS 5 sites to vector points" {} -command {execute v.in.sites }}
-		{separator}
-		{command {[G_msg "Volume to raster series"]} {} "r3.to.rast: Convert volume to raster map series" {} -command {execute r3.to.rast }}
-	}}
-	{separator}
-	{command {[G_msg "Georectify"]} {} "Georectify raster map in XY location" {} -command { GRMap::startup }}
-	{separator}
-	{command {[G_msg "Animate raster maps"]} {} "Display a series of raster maps as an animation" {} -command { GmAnim::main }}
-	{separator}
-	{command {[G_msg "Bearing/distance to coordinates"]} {} "m.cogo: Convert between bearing/distance and coordinates" {} -command { execute m.cogo }}
-	{separator}
-	{cascad {[G_msg "3D rendering"]} {} "" $tmenu {
-		{command {[G_msg "NVIZ"]} {} "nviz: Launch N-dimensional visualization" {} -command {execute nviz }}
-		{command {[G_msg "NVIZ fly through path"]} {} "d.nviz: Create a fly-through path for NVIZ (requires xterm for interactive path creation)" {} -command {execute d.nviz }}
-	}}
-	{command {[G_msg "PostScript plot"]} {} "ps.map: Create cartographic PostScript plot" {} -command { execute ps.map }}
-	{separator}
-	{command {[G_msg "E&xit"]} {} "Exit GIS Manager" {} -accelerator $keyctrl-Q -command { exit } }
- }
- {[G_msg "&Config"]} all options $tmenu {
-	{cascad {[G_msg "Region"]} {} "" $tmenu {
-		{command {[G_msg "Display region settings"]} {} "g.region -p: Display region settings" {} -command {run_panel "g.region -p" }}
-		{command {[G_msg "Change region settings"]} {} "g.region: " {} -command {execute g.region }}
-	}}
-	{cascad {[G_msg "GRASS working environment"]} {} "" $tmenu {			
-		{command {[G_msg "Mapset access"]} {} "g.mapsets.tcl: Access other mapsets in current location" {} -command {exec $env(GRASS_WISH) $env(GISBASE)/etc/g.mapsets.tcl --tcltk &}}
-		{command {[G_msg "Change working environment"]} {} "g.mapset: Change current working session to new mapset, location, or GISDBASE" {} -command {execute g.mapset }}
-		{command {[G_msg "User access"]} {} "g.access: Modify access by other users to current mapset" {} -command {execute g.access }}
-		{command {[G_msg "Show settings"]} {} "g.gisenv: Show current GRASS environment settings" {} -command {run_panel g.gisenv }}
-		{command {[G_msg "Change settings"]} {} "g.gisenv: Set GRASS environment settings" {} -command {execute g.gisenv }}
-		{command {[G_msg "Show current GRASS version"]} {} "g.version -c: Show current GRASS version" {} -command {run_panel "g.version -c" }}
-	}}
-	{cascad {[G_msg "Manage projections"]} {} "" $tmenu {
-		{command {[G_msg "Manage projections"]} {} "g.proj: Show projection information and create projection files" {} -command {execute g.proj }}
-		{command {[G_msg "Projection for current location"]} {} "g.setproj: Create/edit projection information for current location" {} -command {term g.setproj }}
-		{separator}
-		{command {[G_msg "Convert coordinates"]} {} "m.proj: Convert coordinates from one projection to another" {} -command {execute m.proj }}
-	}}
-	{command {[G_msg "Display font"]} {} "Set default display font" {} -command {Gm::defaultfont "menu" }}
- } 
- {[G_msg "&Raster"]} all options $tmenu {
-	{cascad {[G_msg "Develop map"]} {} "" $tmenu {			
-		{command {[G_msg "Digitize raster"]} {} "r.digit" {} -command {
-			unset env(GRASS_RENDER_IMMEDIATE)
-			guarantee_xmon
-			term r.digit 
-			set env(GRASS_RENDER_IMMEDIATE) "TRUE"}}
-		{separator}
-		{command {[G_msg "Compress/decompress"]} {} "r.compress: Compress/decompress raster file" {} -command {execute r.compress }}
-		{separator}
-		{command {[G_msg "Boundaries"]} {} "r.region: Manage boundary definitions" {} -command {execute r.region }}
-		{command {[G_msg "Null values"]} {} "r.null:Manage null values" {} -command {execute r.null }}
-		{command {[G_msg "Quantization"]} {} "r.quant: Quantization for floating-point maps" {} -command {execute r.quant }}
-		{command {[G_msg "Timestamps"]} {} "r.timestamp: Manage timestamps for files" {} -command {execute r.timestamp }}
-		{separator}
-		{command {[G_msg "Resample using aggregate statistics"]} {} "r.resamp.stats: Resample (change resolution) using aggregate statistics sing regularized spline tension" {} -command {execute r.resamp.stats }}
-		{command {[G_msg "Resample using multiple methods"]} {} "r.resamp.interp: Resample (change resolution) using nearest neighbor, bilinear, or bicubic interpolation" {} -command {execute r.resamp.interp }}
-		{command {[G_msg "Resample using nearest neighbor"]} {} "r.resample: Resample (change resolution) using nearest neighbor interpolation" {} -command {execute r.resample }}
-		{command {[G_msg "Resample using spline tension"]} {} "r.resamp.rst: Resample (change resolution)" {} -command {execute r.resamp.rst }}
-		{separator}
-		{command {[G_msg "Support file maintenance"]} {} "r.support: Support file maintenance" {} -command {term r.support }}
-		{command {[G_msg "Update map statistics"]} {} "r.support.stats: Update map statistics" {} -command {execute r.support.stats }}
-		{separator}
-		{command {[G_msg "Reproject"]} {} "r.proj: Reproject raster from other location" {} -command {execute r.proj }}
-		{command {[G_msg "Tiling"]} {} "r.tileset: Generate tiling for other projection" {} -command {execute r.tileset }}
-	}}
-	{cascad {[G_msg "Manage map colors"]} {} "" $tmenu {			
-		{command {[G_msg "Color tables"]} {} "r.colors: Set colors to predefined color tables or from another raster map" {} -command {execute r.colors }}
-		{command {[G_msg "Color rules"]} {} "Set colors interactively by entering color rules" {} -command {GmRules::main "r.colors" }}
-		{separator}
-		{command {[G_msg "Blend"]} {} "r.blend: Blend 2 color maps to produce 3 RGB files" {} -command {execute r.blend }}
-		{command {[G_msg "Create RGB"]} {} "r.composite: Create color image from RGB files" {} -command {execute r.composite }}
-		{command {[G_msg "HIS to RGB"]} {} "r.his: Create 3 RGB (red, green, blue) maps from 3 HIS (hue, intensity, saturation) maps" {} -command {execute r.his }}
-	}}
-	{separator}
-	{command {[G_msg "Query by coordinate(s)"]} {} "r.what: Query by coordinate(s)" {} -command { execute r.what }}
-	{separator}
-	{command {[G_msg "Buffers"]} {} "r.buffer: Create raster buffers" {} -command { execute r.buffer }}
-	{command {[G_msg "Closest points"]} {} "r.distance: Locate closest points between areas in 2 raster maps" {} -command { execute r.distance }}
-	{command {[G_msg "MASK"]} {} "r.mask: Create raster MASK (defines map areas for GIS operations)" {} -command { execute r.mask }}
-	{command {[G_msg "Map calculator"]} {} "r.mapcalculator: Map calculator" {} -command { execute r.mapcalculator }}
-	{cascad  {[G_msg "Neighborhood analysis"]} {} "" $tmenu {			
-		{command {[G_msg "Moving window"]} {} "r.neighbors: Moving window analysis of raster cells" {} -command { execute r.neighbors }}
-		{command {[G_msg "Neighborhood points"]} {} "v.neighbors: Analyze vector points in neighborhood of raster cells" {} -command { execute v.neighbors }}
-	}}
-	{cascad {[G_msg "Overlay maps"]} {} "" $tmenu {			
-		{command {[G_msg "Cross product"]} {} "r.cross: Cross product" {} -command {execute r.cross }}
-		{command {[G_msg "Map series"]} {} "r.series: Function of map series (time series)" {} -command {execute r.series }}
-		{command {[G_msg "Patch maps"]} {} "r.patch: Patch maps" {} -command {execute r.patch }}
-		{separator}
-		{command {[G_msg "Statistical overlay"]} {} "r.statistics: Statistical calculations for cover map over base map" {} -command {execute r.statistics }}
-	}}
-	{cascad {[G_msg "Solar radiance and shadows"]} {} "" $tmenu {			
-		{command {[G_msg "Solar irradiance irradiation"]} {} "r.sun: Solar irradiance and daily irradiation" {} -command {execute r.sun }}
-		{command {[G_msg "Shadows map"]} {} "r.sunmask: Shadows map for sun position or date/time" {} -command {execute r.sunmask }}
-	}}
-	{cascad {[G_msg "Terrain analysis"]} {} "" $tmenu {			
-		{command {[G_msg "Cumulative movement costs"]} {} "r.walk: Calculate cumulative movement costs between locales" {} -command {execute r.walk }}
-		{command {[G_msg "Cost surface"]} {} "r.cost: Cost surface" {} -command {execute r.cost }}
-		{command {[G_msg "Least cost route or flow"]} {} "r.drain: Least cost route or flow" {} -command {execute r.drain }}
-		{separator}
-		{command {[G_msg "Shaded relief"]} {} "r.shaded.relief: Shaded relief map" {} -command {execute r.shaded.relief }}
-		{separator}
-		{command {[G_msg "Slope and aspect"]} {} "r.slope.aspect: Slope and aspect" {} -command {execute r.slope.aspect }}
-		{command {[G_msg "Terrain parameters"]} {} "r.param.scale: Terrain parameters" {} -command {execute r.param.scale }}
-		{command {[G_msg "Textural features"]} {} "r.texture: Textural features" {} -command {execute r.texture }}
-		{command {[G_msg "Soil Texture->properties"]} {} "r.soiltex2prop: Soil Texture to Ksat/Porosity/Hf" {} -command {execute r.soiltex2prop }}
-		{separator}
-		{command {[G_msg "Visibility"]} {} "r.los: Visibility/line of sight" {} -command {execute r.los }}
-	}}
-	{cascad {[G_msg "Transform features"]} {} "" $tmenu {			
-		{command {[G_msg "Clump"]} {} "r.clump: Clump small areas (statistics calculated by r.volume)" {} -command {execute r.clump }}
-		{command {[G_msg "Grow"]} {} "r.grow: Grow areas" {} -command {execute r.grow }}
-		{command {[G_msg "Thin"]} {} "r.thin: Thin linear features" {} -command {execute r.thin }}
-	}}
-	{separator}
-	{cascad {[G_msg "Soil and USLE"]} {} "" $tmenu {			
-		{command {[G_msg "USDA soil classes to soil fractions"]} {} "r.soilusda2tex" {} -command {execute r.soilusda2tex }}
-		{command {[G_msg "Soil Fractions to soil properties"]} {} "r.soiltex2prop" {} -command {execute r.soiltex2prop }}
-		{separator}
-		{command {[G_msg "Rainfall Erosivity (R)"]} {} "r.usler" {} -command {execute r.usler }}
-		{command {[G_msg "Soil Erodibility (K)"]} {} "r.uslek" {} -command {execute r.uslek }}
-		{command {[G_msg "Length Slope and Slope (LS)"]} {} "r.watershed" {} -command {execute r.watershed }}
-	}}
-	{cascad {[G_msg "Hydrologic modeling"]} {} "" $tmenu {			
-		{command {[G_msg "CASC2D"]} {} "r.CASC2D: CASC2D hydrological modeling" {} -command {execute r.hydro.CASC2D }}
-		{command {[G_msg "Carve stream channels"]} {} "r.carve: Carve stream channels into elevation map using vector streams map" {} -command {execute r.carve }}
-		{command {[G_msg "Fill lake"]} {} "r.lake: Fill lake from seed point to specified level" {} -command {execute r.lake }}
-		{separator}
-		{command {[G_msg "Depressionless map and flowlines"]} {} "r.fill.dir: Depressionless elevation map and flowline map" {} -command {execute r.fill.dir }}
-		{command {[G_msg "Flow accumulation"]} {} "r.terraflow: Flow accumulation for massive grids" {} -command {execute r.terraflow }}
-		{command {[G_msg "Flow lines"]} {} "r.flow: " {} -command {execute r.flow }}
-		{separator}
-	    {command {[G_msg "Groundwater flow model"]} {} "r.gwflow: 2D groundwater flow model" {} -command {execute r.gwflow }}
-		{separator}
-		{command {[G_msg "SIMWE overland flow modeling"]} {} "r.sim.water: SIMWE overland flow modeling" {} -command {execute r.sim.water }}
-		{command {[G_msg "SIMWE sediment flux modeling"]} {} "r.sim.sediment: SIMWE sediment erosion, transport, & deposition modeling" {} -command {execute r.sim.sediment }}
-		{separator}
-		{command {[G_msg "Topographic index map"]} {} "r.topidx: Topographic index map" {} -command {execute r.topidx }}
-		{command {[G_msg "TOPMODEL simulation"]} {} "r.topmodel: TOPMODEL simulation" {} -command {execute r.topmodel }}
-		{separator}
-		{command {[G_msg "Watershed subbasins"]} {} "r.basins.fill: Watershed subbasins" {} -command {execute r.basins.fill }}
-		{command {[G_msg "Watershed analysis"]} {} "r.watershed: Watershed analysis" {} -command {execute r.watershed }}
-		{command {[G_msg "Watershed basin creation"]} {} "r.water.outlet: Watershed basin creation" {} -command {execute r.water.outlet }}
-	}}
-	{cascad {[G_msg "Landscape structure modeling"]} {} "" $tmenu {			
-		{command {[G_msg "Set up"]} {} "r.le.setup: Set up sampling and analysis framework" {} -command {
-			unset env(GRASS_RENDER_IMMEDIATE)
-			guarantee_xmon
-			term r.le.setup 
-			set env(GRASS_RENDER_IMMEDIATE) "TRUE"}}
-		{separator}
-		{command {[G_msg "Analyze landscape"]} {} "r.le.pixel: Analyze landscape characteristics" {} -command {execute r.le.pixel }}
-		{command {[G_msg "Analyze patches"]} {} " r.le.patch: Analyze landscape patch characteristics" {} -command {execute r.le.patch }}
-		{command {[G_msg "Output"]} {} "r.le.trace: Output landscape patch information" {} -command {execute r.le.trace }}
-	}}
-	{cascad {[G_msg "Landscape patch analysis"]} {} "" $tmenu {			
-		{command {[G_msg "Set up sampling and analysis framework"]} {} "r.li.setup: Configure and create patch map for analysis" {} -command {execute r.li.setup }}
-		{separator}
-		{command {[G_msg "Edge density"]} {} "r.li.edgedensity: Calculate edge density index using a 4 neighbour algorithm" {} -command {execute r.li.edgedensity }}
-		{command {[G_msg "Contrast weighted edge density"]} {} "r.li.cwed: Calculate contrast weighted edge density index" {} -command {execute r.li.cwed }}
-		{separator}
-		{command {[G_msg "Patch size mean"]} {} "r.li.mps: Calculate mean patch size index using a 4 neighbour algorithm" {} -command {execute r.li.mps }}
- 		{command {[G_msg "Patch area range"]} {} "r.li.padrange: Calculate range of patch area size" {} -command {execute r.li.padrange }}
- 		{command {[G_msg "Patch area Std Dev"]} {} "r.li.padsd: Calculate standard deviation of patch area" {} -command {execute r.li.padsd }}
-		{command {[G_msg "Patch area Coeff Var"]} {} "r.li.padcv: Calculate coefficient of variation of patch area" {} -command {execute r.li.padcv }}
- 		{command {[G_msg "Patch density"]} {} "r.li.patchdensity: Calculate patch density index using a 4 neighbour algorithm" {} -command {execute r.li.patchdensity }}
- 		{command {[G_msg "Patch number"]} {} "r.li.patchnum: Calculate patch number index using a 4 neighbour algorithm" {} -command {execute r.li.patchnum }}
-		{separator}
-		{command {[G_msg "Dominance's diversity"]} {} "r.li.dominance: Calculate Dominance's diversity index" {} -command {execute r.li.dominance }}
- 		{command {[G_msg "Shannon's diversity"]} {} "r.li.shannon: Calculate Shannon's diversity index" {} -command {execute r.li.shannon }}
- 		{command {[G_msg "Simpson's diversity"]} {} "r.li.simpson: Calculate Simpson's diversity index" {} -command {execute r.li.simpson }}
-		{separator}
-		{command {[G_msg "Ricness"]} {} "r.li.richness: Calculate ricness index" {} -command {execute r.li.richness }}
- 		{command {[G_msg "Shape index"]} {} "r.li.shape: Calculate shape index" {} -command {execute r.li.shape }}
-	}}
-	{cascad {[G_msg "Wildfire modeling"]} {} "" $tmenu {			
-		{command {[G_msg "Rate of spread"]} {} "r.ros: Generate rate of spread (ROS) maps" {} -command {execute r.ros }}
-		{command {[G_msg "Least-cost spread paths"]} {} "r.spreadpath: Generate least-cost spread paths" {} -command {execute r.spreadpath }}
-		{command {[G_msg "Anisotropic spread simulation"]} {} "r.spread: Simulate anisotropic spread phenomena" {} -command {execute r.spread }}
-	}}
-	{separator}
-	{cascad {[G_msg "Change category values and labels"]} {} "" $tmenu {			
-		{command {[G_msg "Interactively edit category values"]} {} "d.rast.edit: Edit category values of individual cells for displayed raster map" {} -command {execute d.rast.edit }}
-		{separator}
-		{command {[G_msg "Reclassify by size"]} {} "r.reclass.area: Reclassify categories for areas of specified sizes" {} -command {execute r.reclass.area }}
-		{command {[G_msg "Reclassify interactively"]} {} "Reclassify categories interactively by entering reclass rules" {} -command {GmRules::main "r.reclass" }}
-		{command {[G_msg "Reclassify using rules file"]} {} "r.reclass: Reclassify categories by inputting rules from a text file" {} -command {execute r.reclass}}
-		{separator}
-		{command {[G_msg "Recode interactively"]} {} "Recode categories interactively by entering recode rules (create new map)" {} -command {GmRules::main "r.recode" }}
-		{command {[G_msg "Recode using rules file"]} {} "r.recode: Recode categories  by inputting rules from a text file (create new map)" {} -command {execute r.recode }}
-		{separator}
-		{command {[G_msg "Rescale"]} {} "r.rescale: Rescale categories (create new map)" {} -command {execute r.rescale }}
-		{command {[G_msg "Rescale with histogram"]} {} "r.rescale.eq: Rescale categories with equalized histogram (create new map)" {} -command {execute r.rescale.eq }}
-	}}
-	{separator}
-	{command {[G_msg "Concentric circles"]} {} "r.circle: Generate concentric circles around points" {} -command { execute r.circle }}
-	{cascad {[G_msg "Generate random cells"]} {} "" $tmenu {			
-		{command {[G_msg "Random cells"]} {} "r.random.cells: Generate random cells" {} -command {execute r.random.cells }}
-		{command {[G_msg "Random cells and vector points"]} {} "r.random: Generate random cells and vector points from raster map" {} -command {execute r.random }}
-	}}
-	{cascad {[G_msg "Generate surfaces"]} {} "" $tmenu {			
-		{command {[G_msg "Fractal surface"]} {} "r.surf.fractal: Generate fractal surface" {} -command {execute r.surf.fractal }}
-		{separator}
-		{command {[G_msg "Gausian kernal density surface"]} {} "v.kernel: Generate density surface using moving Gausian kernal" {} -command {execute v.kernel }}
-		{command {[G_msg "Gaussian deviates surface"]} {} "r.surf.gauss: Generate gaussian deviates surface" {} -command {execute r.surf.gauss }}
-		{separator}
-		{command {[G_msg "Plane"]} {} "r.plane: Generate plane" {} -command {execute r.plane }}
-		{separator}
-		{command {[G_msg "Random deviates surface"]} {} "r.surf.random: Generate random deviates surface" {} -command {execute r.surf.random }}
-		{command {[G_msg "Random surface with spatial dependence"]} {} "r.random.surface: Generate random surface with spatial dependence" {} -command {execute r.random.surface }}
-	}}
-	{command {[G_msg "Contour lines"]} {} "r.contour: Generate vector contour lines" {} -command { execute r.contour }}
-	{cascad {[G_msg "Interpolate surfaces"]} {} "" $tmenu {			
-		{command {[G_msg "Bilinear from raster points"]} {} "r.bilinear: Bilinear interpolation from raster points" {} -command { execute r.bilinear }}
-		{command {[G_msg "Bilinear and bicubic from vector points"]} {} "v.surf.bspline: Bicubic and bilinear interpolation with Tykhonov regularization from vector points" {} -command { execute v.surf.bspline }}
-		{separator}
-		{command {[G_msg "IDW from raster points"]} {} "r.surf.idw: Inverse distance weighted interpolation from raster points" {} -command { execute r.surf.idw }}
-		{command {[G_msg "IDW from vector points"]} {} "v.surf.idw: Inverse distance weighted interpolation from vector points" {} -command { execute v.surf.idw }}
-		{separator}
-		{command {[G_msg "Raster contours"]} {} "r.surf.contour: Interpolation from raster contours" {} -command { execute r.surf.contour }}
-		{command {[G_msg "Regularized spline tension"]} {} "v.surf.rst: Regularized spline tension interpolation from vector points or contours" {} -command { execute v.surf.rst }}
-		{separator}
-		{command {[G_msg "Fill NULL cells"]} {} " r.fillnulls: Fill NULL cells by interpolation using regularized spline tension" {} -command {execute r.fillnulls }}
-	}}
-	{separator}
-	{cascad {[G_msg "Reports and statistics"]} {} "" $tmenu {			
-		{command {[G_msg "Report basic file information"]} {} "r.info: Report basic file information" {} -command {execute r.info }}
-		{command {[G_msg "Manage category information"]} {} "r.category: Manage category labels and values" {} -command {execute r.category }}
-		{separator}
-		{command {[G_msg "General statistics"]} {} "r.stats: General statistics" {} -command {execute r.stats }}
-		{command {[G_msg "Range of category values"]} {} "r.describe: Range of all category values" {} -command {execute r.describe }}
-		{command {[G_msg "Sum cell category values"]} {} "r.sum: Sum all cell category values" {} -command {execute r.sum }}
-		{command {[G_msg "Sum area by map and category"]} {} "r.report:Sum area by map and category" {} -command {execute r.report }}
-		{command {[G_msg "Statistics for clumped cells (works with r.clump)"]} {} "r.volume: " {} -command {execute r.volume }}
-		{command {[G_msg "Total surface area corrected for topography"]} {} "r.surf.area: Total surface area corrected for topography" {} -command {execute r.surf.area }}
-		{command {[G_msg "Univariate statistics"]} {} "r.univar: Univariate statistics" {} -command {execute r.univar }}
-		{separator}
-		{command {[G_msg "Sample transects"]} {} "r.profile: Sample values along transects" {} -command {execute r.profile }}
-		{command {[G_msg "Sample transects (bearing/distance)"]} {} " r.transect: Sample values along transects (use azimuth, distance)" {} -command {execute r.transect }}
-		{separator}
-		{command {[G_msg "Covariance/correlation"]} {} "r.covar: Covariance/correlation" {} -command {execute r.covar }}
-		{command {[G_msg "Linear regression"]} {} "r.regression.line: Linear regression between 2 maps" {} -command {execute r.regression.line }}
-		{command {[G_msg "Mutual category occurences"]} {} "r.coin: Mutual category occurences (coincidence)" {} -command {execute r.coin }}
-	}}
- } 
- {[G_msg "&Vector"]} all options $tmenu {
-	{cascad {[G_msg "Develop map"]} {} "" $tmenu {			
-		{command {[G_msg "Digitize"]} {} "v.digit: Digitize/edit vector map" {} -command {execute v.digit }}
-		{command {[G_msg "Edit features"]} {} "v.edit: Edit vector features" {} -command {execute v.edit }}
-		{separator}
-		{command {[G_msg "Create/rebuild topology: "]} {} "v.build: Create or rebuild topology of vector objects" {} -command {execute v.build }}
-		{command {[G_msg "Clean vector"]} {} "v.clean: Clean vector objects" {} -command {execute v.clean }}
-		{command {[G_msg "Generalization"]} {} "v.generalize: Smooth, simplify, displace, or generalize a vector map" {} -command {execute v.generalize }}
-		{separator}
-		{command {[G_msg "Convert object types"]} {} "v.type: Convert vector objects from one feature type to another" {} -command {execute $env(GISBASE)/etc/gui/scripts/v.type.sh }}
-		{separator}
-		{command {[G_msg "Add centroids"]} {} "v.centroids: Add centroids to closed boundaries to create areas" {} -command {execute v.centroids }}
-		{separator}
-		{command {[G_msg "Build polylines"]} {} "v.build.polylines: Build polylines from adjacent segments" {} -command {execute v.build.polylines }}
-		{command {[G_msg "Split polylines"]} {} "v.segment: Split polylines into points and segments" {} -command {execute v.segment }}
-		{command {[G_msg "Parallel lines"]} {} "v.parallel: Create lines parallel to existing lines" {} -command {execute v.parallel }}
-		{separator}
-		{command {[G_msg "Dissolve boundaries"]} {} "v.dissolve: Dissolve common boundaries of areas" {} -command {execute v.dissolve }}
-		{separator}
-		{command {[G_msg "Create 3D vector over raster"]} {} "v.drape: Create 3D objects by sampling raster with 2D vector" {} -command {execute v.drape }}
-		{command {[G_msg "Extrude 3D vector"]} {} "v.extrude: Extrude 3D objects from 2D vector" {} -command {execute v.extrude }}
-		{separator}
-		{command {[G_msg "Link to OGR"]} {} "v.external: Create new vector as link to external OGR layer" {} -command {execute v.external }}
-		{separator}
-		{command {[G_msg "Create labels"]} {} "v.label: Create text label file for vector objects" {} -command {execute v.label }}
-		{separator}
-		{command {[G_msg "Reposition vector"]} {} "v.transform: Reposition (shift, rotate, skew) vector file in coordinate space" {} -command {execute v.transform }}
-		{command {[G_msg "Reproject vector"]} {} "v.proj: Reproject vector from other location" {} -command {execute v.proj }}
-		{separator}
-		{command {[G_msg "Metadata support"]} {} "v.support: Edit metadata for vector map" {} -command {execute v.support }}
-		{separator}
-	}}
-	{separator}
-	{command {[G_msg "Query with attributes"]} {} "v.extract: Query vector objects by attribute values" {} -command {execute v.extract }}
-	{command {[G_msg "Query with coordinate(s)"]} {} "v.what: Query vector objects by coordinate(s)" {} -command { execute v.what }}
-	{command {[G_msg "Query with another map"]} {} " v.select: Query objects using objects from a second map" {} -command {execute v.select }}
-	{separator}
-	{command {[G_msg "Buffer vectors"]} {} "v.buffer: Create vector buffers around vector objects" {} -command {execute v.buffer }}
-	{cascad {[G_msg "Lidar analysis"]} {} "" $tmenu {			
-		{command {[G_msg "Detect edges"]} {} "v.lidar.edgedetection: Detect object edges in Lidar data" {} -command {execute v.lidar.edgedetection }}
-		{command {[G_msg "Detect interiors"]} {} "v.lidar.growing: Detect interiors of objects in Lidar data" {} -command {execute v.lidar.growing }}
-		{command {[G_msg "Correct and reclassify objects"]} {} "v.lidar.correction: Correct and reclassify objects detected in Lidar data" {} -command {execute v.lidar.correction }}
-	}}
-	{cascad {[G_msg "Linear referencing"]} {} "" $tmenu {			
-		{command {[G_msg "Create LRS"]} {} "v.lrs.create: Create linear reference system" {} -command {execute v.lrs.create }}
-		{command {[G_msg "Create stationing"]} {} "v.lrs.label: Create stationing from input lines and a linear reference system" {} -command {execute v.lrs.label }}
-		{command {[G_msg "Create points/segments"]} {} "v.lrs.segment: Create points and line segments along a linear reference system" {} -command {execute v.lrs.segment }}
-		{command {[G_msg "Find ID and offset"]} {} "v.lrs.where: Find line ID and real km+offset for given points in vector map using linear reference system" {} -command {execute v.lrs.where }}
-	}}			
-	{command {[G_msg "Nearest features"]} {} "v.distance: Locate nearest features to points or centroids" {} -command {execute v.distance }}
-	{cascad {[G_msg "Network analysis"]} {} "" $tmenu {			
-		{command {[G_msg "Allocate subnets"]} {} "v.net.alloc: Allocate subnets for nearest centers" {} -command {execute v.net.alloc }}
-		{command {[G_msg "Network maintenance"]} {} "v.net: Network maintenance" {} -command {execute v.net }}
-		{command {[G_msg "Visibility network"]} {} "v.net.visibility: Create and maintain a visibility network" {} -command {execute v.net.visibility }}
-		{command {[G_msg "Shortest route"]} {} "v.net.path: Calculate shortest route along network between 2 nodes" {} -command {execute v.net.path }}
-		{command {[G_msg "Display shortest route"]} {} "d.path: Display shortest route along network between 2 nodes (visualization only)" {} -command {
-			unset env(GRASS_RENDER_IMMEDIATE)
-			guarantee_xmon
-			spawn d.path.sh -b --ui
-			set env(GRASS_RENDER_IMMEDIATE) "TRUE"}}
-		{command {[G_msg "Split net"]} {} "v.net.iso: Split net into bands between cost isolines" {} -command {execute v.net.iso }}
-		{command {[G_msg "Steiner tree"]} {} "v.net.steiner: Create Steiner tree for network and given terminals" {} -command {execute v.net.steiner }}
-		{command {[G_msg "Traveling salesman analysis"]} {} "v.net.salesman: Calculate shortest route connecting given set of nodes (Traveling salesman analysis)" {} -command {execute v.net.salesman }}
-	}}
-	{cascad {[G_msg "Overlay maps"]} {} "" $tmenu {			
-		{command {[G_msg "Overlay"]} {} "v.overlay: Boolean overlay of 2 vector maps" {} -command {execute v.overlay }}
-		{command {[G_msg "Patch (combine)"]} {} "v.patch: Patch/combine multiple maps (Boolean OR)" {} -command {execute v.patch }}
-	}}
-	{separator}
-	{cascad {[G_msg "Change attributes"]} {} "" $tmenu {			
-		{command {[G_msg "Manage or report categories"]} {} "v.category: Attach, delete, or report categories" {} -command {execute v.category }}
-		{command {[G_msg "Reclassify objects interactively"]} {} "Reclassify objects interactively by entering SQL rules" {} -command {GmRules::main "v.reclass" }}
-		{command {[G_msg "Reclassify using rules file"]} {} "v.reclass: Reclassify objects by inputting rules from a text file" {} -command {execute v.reclass }}
-	}}
-	{separator}
-	{command {[G_msg "Generate area for current region"]} {} "v.in.region: Generate area object for extent of current region" {} -command {execute v.in.region }}
-	{cascad {[G_msg "Generate areas from points"]} {} "" $tmenu {			
-		{command {[G_msg "Convex hull"]} {} "v.hull: Generate convex hull for point set" {} -command {execute v.hull }}
-		{command {[G_msg "Delaunay triangles"]} {} "v.delaunay: Generate Delaunay triangles for point set" {} -command {execute v.delaunay }}
-		{command {[G_msg "Voronoi diagram/Thiessen polygons"]} {} "v.voronoi: Generate Voronoi diagram/Thiessen polygons for point set" {} -command {execute v.voronoi }}
-	}}
-	{command {[G_msg "Generate grid"]} {} "v.mkgrid: Generate rectangular vector grid" {} -command {execute v.mkgrid }}		
-	{cascad {[G_msg "Generate points"]} {} "" $tmenu {			
-		{command {[G_msg "Generate points from database"]} {} "v.in.db: Generate points from database with x/y coordinates" {} -command {execute v.in.db }}
-		{command {[G_msg "Generate points along lines"]} {} "v.to.points: Generate points along vector lines/boundaries" {} -command {execute v.to.points }}
-		{command {[G_msg "Generate random points"]} {} "v.random: Generate random points" {} -command {execute v.random }}
-		{command {[G_msg "Perturb points"]} {} "v.perturb: Random perturbations of point locations" {} -command {execute v.perturb }}
-	}}
-	{separator}
-	{command {[G_msg "Remove outliers in point sets"]} {} "v.outlier: Remove outliers from vector point set" {} -command {execute v.outlier }}
-	{command {[G_msg "Test/training sets"]} {} "v.kcv: Partition points into test/training sets for k-fold cross validatation" {} -command {execute v.kcv }}
-	{separator}
-	{command {[G_msg "Update area attributes from raster"]} {} "v.rast.stats: Update area attribute data from univariate statistics on raster map" {} -command {execute v.rast.stats }}
-	{command {[G_msg "Update point attributes from areas"]} {} "v.what.vect: Update point attribute data from vector area map" {} -command {execute v.what.vect }}
-	{cascad {[G_msg "Update point attributes from raster"]} {} "" $tmenu {			
-		{command {[G_msg "Sample raster map at point locations"]} {} "v.what.rast: " {} -command {execute v.what.rast }}
-		{command {[G_msg "Sample raster neighborhood around points"]} {} "v.sample: " {} -command {execute v.sample }}
-	}}
-	{separator}
-	{cascad {[G_msg "Reports and statistics"]} {} "" $tmenu {			
-		{command {[G_msg "Basic information"]} {} "v.info: Basic information" {} -command {execute v.info }}
- 		{separator}
-		{command {[G_msg "Report topology by category"]} {} "v.report: Report areas for vector attribute categories" {} -command {execute v.report }}
-		{command {[G_msg "Upload or report topology"]} {} "v.to.db: Update database fields or create reports from vector topology" {} -command {execute v.to.db }}
- 		{separator}
-		{command {[G_msg "Univariate attribute statistics"]} {} "v.univar: Calculate univariate statistics for vector attributes" {} -command {execute v.univar }}
- 		{separator}
-		{command {[G_msg "Quadrat indices"]} {} "v.qcount: Indices of point counts in quadrats" {} -command {execute v.qcount }}
-		{command {[G_msg "Test normality"]} {} "v.normal: Test normality of point distribution" {} -command {execute v.normal }}
-	}}
- } 
- {[G_msg "&Imagery"]} all options $tmenu {			
-	{cascad {[G_msg "Develop images and groups"]} {} "" $tmenu {			
-		{command {[G_msg "Create/edit group"]} {} "i.group: Create/edit imagery group" {} -command {execute i.group }}			
-		{command {[G_msg "Target group"]} {} "i.target: Target imagery group" {} -command {execute i.target }}
-		{separator}
-		{command {[G_msg "Mosaic images"]} {} "i.image.mosaic: Mosaic up to 4 adjacent images" {} -command {execute i.image.mosaic }}
-	}}
-	{cascad {[G_msg "Manage image colors"]} {} "" $tmenu {			
-		{command {[G_msg "Color balance for RGB"]} {} "i.landsat.rgb: Color balance and enhance color tables of multiband imagery for rgb display" {} -command {execute i.landsat.rgb }}
-		{command {[G_msg "HIS to RGB"]} {} "i.his.rgb: Transform HIS (Hue/Intensity/Saturation) color image to RGB (Red/Green/Blue)" {} -command {execute i.his.rgb }}
-		{command {[G_msg "RGB to HIS"]} {} "i.rgb.his: Transform RGB (Red/Green/Blue) color image to HIS (Hue/Intensity/Saturation)" {} -command {execute i.rgb.his }}
-	}}
-	{command {[G_msg "Ortho photo rectification"]} {} "i.ortho.photo: Ortho photo rectification" {} -command {
-		unset env(GRASS_RENDER_IMMEDIATE)
-		guarantee_xmon
-		term i.ortho.photo 
-		set env(GRASS_RENDER_IMMEDIATE) "TRUE"}}
-	{separator}
-	{command {[G_msg "Brovey sharpening"]} {} "i.fusion.brovey: Brovey transformation and pan sharpening" {} -command {execute i.fusion.brovey }}
-	{separator}
-	{cascad {[G_msg "GIPE"]} {} "" $tmenu {
-		{cascad {[G_msg "DN2Rad2Ref"]} {} "" $tmenu {
-				{command {[G_msg "MODIS QC extrator"]} {} "i.modis.qc" {} -command {execute i.modis.qc }}
-				{command {[G_msg "MODIS State QA extrator"]} {} "i.modis.stateqa" {} -command {execute i.modis.stateqa }}
-				{separator}
-				{command {[G_msg "All types of Landsat"]} {} "i.landsat.toar" {} -command {execute i.landsat.toar }}
-				{command {[G_msg "Landsat 7 ETM+"]} {} "i.dn2ref.l7" {} -command {execute i.dn2ref.l7 }}
-				{command {[G_msg "Landsat 7 ETM+ (from .met)"]} {} "i.dn2full.l7" {} -command {execute i.dn2full.l7 }}
-				{command {[G_msg "Landsat 5 TM (from NLAPS report .txt)"]} {} "i.dn2full.l5" {} -command {execute i.dn2full.l5 }}
-				{command {[G_msg "Terra-Aster"]} {} "i.dn2ref.ast" {} -command {execute i.dn2ref.ast }}
-				{separator}
-				{command {[G_msg "Atmospheric correction"]} {} "i.atcorr" {} -command {execute i.atcorr }}
-				{command {[G_msg "Dehaze Landsat"]} {} "i.landsat.dehaze" {} -command {execute i.landsat.dehaze }}
-		}}
-		{cascad {[G_msg "Basic RS processing"]} {} "" $tmenu {
-				{command {[G_msg "Tassled cap vegetation index"]} {} "i.tasscap" {} -command {execute i.tasscap }}
-				{command {[G_msg "Vegetation Indices (13 types)"]} {} "i.vi" {} -command {execute i.vi }}
-				{command {[G_msg "Vegetation Indices (13 types) cluster"]} {} "i.vi.mpi" {} -command {execute i.vi.mpi }}
-				{command {[G_msg "Water Indices"]} {} "i.wi" {} -command {execute i.wi }}
-				{separator}
-				{command {[G_msg "Albedo"]} {} "i.albedo" {} -command {execute i.albedo }}
-				{command {[G_msg "Water"]} {} "i.water" {} -command {execute i.water }}
-				{command {[G_msg "Emissivity (generic from NDVI)"]} {} "i.emissivity" {} -command {execute i.emissivity }}
-				{separator}
-				{command {[G_msg "Lat/long maps"]} {} "i.latlong" {} -command {execute i.latlong }}
-				{command {[G_msg "Sunshine hours (potential)"]} {} "i.sunhours" {} -command {execute i.sunhours }}
-				{separator}
-				{command {[G_msg "LMF temporal splinning"]} {} "i.lmf" {} -command {execute i.lmf }}
-		}}
-		{separator}
-		{cascad {[G_msg "ETo, ETP, ETa"]} {} "" $tmenu {
-				{command {[G_msg "Reference ET (Hargreaves)"]} {} "r.evapo.MH" {} -command {execute r.evapo.MH }}
-				{separator}
-				{command {[G_msg "Potential ET (Penman-Monteith)"]} {} "r.evapo.PM" {} -command {execute r.evapo.PM }}
-				{command {[G_msg "Potential ET (Prestley and Taylor)"]} {} "i.evapo.PT" {} -command {execute i.evapo.PT }}
-				{command {[G_msg "Potential ET (Radiative)"]} {} "i.evapo.potrad" {} -command {execute i.evapo.potrad }}
-				{command {[G_msg "Potential ET (Radiative) from L7DN (.met)"]} {} "i.dn2potrad.l7" {} -command {execute i.dn2potrad.l7 }}
-				{command {[G_msg "Potential ET (Radiative) from L5DN (NLAPS .txt)"]} {} "i.dn2potrad.l5" {} -command {execute i.dn2potrad.l5 }}
-				{separator}
-				{command {[G_msg "Actual ET (SEBAL)"]} {} "i.eb.eta" {} -command {execute i.eb.eta }}
-				{command {[G_msg "Actual ET (Senay)"]} {} "i.evapo.senay" {} -command {execute i.evapo.senay }}
-				{command {[G_msg "Actual ET (TSA)"]} {} "i.evapo.TSA" {} -command {execute i.evapo.TSA }}
-				{separator}
-				{command {[G_msg "Actual ET Temporal Integration"]} {} "i.evapo.time_integration" {} -command {execute i.evapo.time_integration }}
-		}}
-		{cascad {[G_msg "Energy Balance"]} {} "" $tmenu {
-				{command {[G_msg "Surface roughness (generic)"]} {} "i.eb.z0m0" {} -command {execute i.eb.z0m0 }}
-				{command {[G_msg "Surface roughness (savi/Pawan04)"]} {} "i.eb.z0m" {} -command {execute i.eb.z0m }}
-				{command {[G_msg "Delta T"]} {} "i.eb.deltat" {} -command {execute i.eb.deltat }}
-				{command {[G_msg "Net radiation"]} {} "i.eb.netrad" {} -command {execute i.eb.netrad }}
-				{separator}
-				{command {[G_msg "Displacement height"]} {} "i.eb.disp" {} -command {execute i.eb.disp }}
-				{command {[G_msg "Atm. Air Density"]} {} "i.eb.rohair" {} -command {execute i.eb.rohair }}
-				{separator}
-				{command {[G_msg "Monin-Obukov Length"]} {} "i.eb.molength" {} -command {execute i.eb.molength }}
-				{command {[G_msg "Psichrometric param. for heat"]} {} "i.eb.psi" {} -command {execute i.eb.psi }}
-				{command {[G_msg "Blending height wind speed"]} {} "i.eb.ublend" {} -command {execute i.eb.ublend }}
-				{command {[G_msg "Nominal wind speed"]} {} "i.eb.ustar" {} -command {execute i.eb.ustar }}
-				{command {[G_msg "Aerod. resis. to heat transp."]} {} "i.eb.rah" {} -command {execute i.eb.rah }}
-				{separator}
-				{command {[G_msg "Soil heat flux"]} {} "i.eb.g0" {} -command {execute i.eb.g0 }}
-				{command {[G_msg "Sensible heat flux"]} {} "i.eb.h0" {} -command {execute i.eb.h0 }}
-				{command {[G_msg "Sensible heat flux iteration (fixed delta T)"]} {} "i.eb.h_iter" {} -command {execute i.eb.h_iter }}
-				{separator}
-				{command {[G_msg "Support file for delta T iteration"]} {} "i.eb.wetdrypix" {} -command {execute i.eb.wetdrypix }}
-				{command {[G_msg "Sensible heat flux (iteration on delta T, original)"]} {} "i.eb.h_SEBAL95" {} -command {execute i.eb.h_SEBAL95 }}
-				{command {[G_msg "Sensible heat flux (iteration on delta T, 2001)"]} {} "i.eb.h_SEBAL01" {} -command {execute i.eb.h_SEBAL01 }}
-				{separator}
-				{command {[G_msg "Evaporative fraction"]} {} "i.eb.evapfr" {} -command {execute i.eb.evapfr }}
-		}}
-		{separator}
-		{cascad {[G_msg "Biomass"]} {} "" $tmenu {
-				{command {[G_msg "Biomass growth"]} {} "i.biomass" {} -command {execute r.biomass }}
-		}}
-	}}
-	{cascad {[G_msg "Classify image"]} {} "" $tmenu {			
-		{command {[G_msg "Clustering input for unsupervised classification"]} {} "i.cluster: Clustering input for unsupervised classification" {} -command {execute i.cluster }}
-		{separator}
-		{command {[G_msg "Maximum likelyhood classification (MLC)"]} {} "i.maxlik: Maximum likelyhood classification" {} -command {execute i.maxlik }}
-		{command {[G_msg "Sequential maximum a posteriory classification (SMAP)"]} {} "i.smap: Sequential maximum a posteriory classification" {} -command {execute i.smap }}
-		{separator}
-		{command {[G_msg "Interactive input for supervised classification"]} {} "i.class: Interactive input for supervised classification" {} -command {term i.class }}
-		{command {[G_msg "Input for supervised MLC"]} {} "i.gensig: Non-interactive input for supervised classification (MLC)" {} -command {execute i.gensig }}
-		{command {[G_msg "Input for supervised SMAP"]} {} "i.gensigset: Non-interactive input for supervised classification (SMAP)" {} -command {execute i.gensigset }}
-	}}
-	{cascad {[G_msg "Filter image"]} {} "" $tmenu {			
-		{command {[G_msg "Edge detection"]} {} "i.zc: Zero edge crossing detection" {} -command {execute i.zc }}
-		{command {[G_msg "Matrix/convolving filter"]} {} "r.mfilter: User defined matrix/convolving filter" {} -command {execute r.mfilter }}
-	}}
-	{command {[G_msg "Spectral response"]} {} "i.spectral: Spectral response" {} -command {execute i.spectral }}
-	{command {[G_msg "Tassled cap vegetation index"]} {} "i.tasscap: Tassled cap vegetation index" {} -command {execute i.tasscap }}
-	{cascad {[G_msg "Transform image"]} {} "" $tmenu {			
-		{command {[G_msg "Canonical correlation"]} {} "i.cca: Canonical correlation (discriminant analysis)" {} -command {execute i.cca }}
-		{command {[G_msg "Principal components"]} {} "i.pca: Principal components analysis" {} -command {execute i.pca }}
-		{command {[G_msg "Fast Fourier"]} {} "i.fft: Fast Fourier transform" {} -command {execute i.fft }}
-		{command {[G_msg "Inverse Fast Fourier"]} {} "i.ifft: Inverse fast Fourier transform" {} -command {execute i.ifft }}
-	}}
-	{separator}
-	{cascad {[G_msg "Reports and statistics"]} {} "" $tmenu {			
-		{command {[G_msg "Bit pattern comparison"]} {} "r.bitpattern: Bit pattern comparison for ID of low quality pixels" {} -command {execute r.bitpattern }}
-		{command {[G_msg "Kappa analysis"]} {} "r.kappa: Kappa classification accuracy assessment" {} -command {execute r.kappa }}
-		{command {[G_msg "OIF for LandSat TM"]} {} "i.oif: Optimum index factor for LandSat TM" {} -command {execute i.oif }}
-	}}
- } 
- {[G_msg "&Volumes"]} all options $tmenu {
-	{cascad {[G_msg "Develop grid3D volumes"]} {} "" $tmenu {			
-		{command {[G_msg "Manage nulls for grid3D volume"]} {} "r3.null: Manage nulls for grid3D volume" {} -command {execute r3.null }}
-		{command {[G_msg "Manage timestamp for grid3D volume"]} {} "r3.timestamp" {} -command {execute r3.timestamp }}
-	}}
-	{command {[G_msg "3D MASK"]} {} "r3.mask: " {} -command {execute r3.mask }}
-	{command {[G_msg "3D Map calculator"]} {} "r3.mapcalculator: Map calculator for grid3D operations" {} -command {execute r3.mapcalculator }}
-	{command {[G_msg "Cross section from volume"]} {} "r3.cross.rast: Create 2D raster cross section from grid3D volume" {} -command { execute r3.cross.rast }}
-	{command {[G_msg "Groundwater flow model"]} {} "r3.gwflow: 3D groundwater flow model" {} -command {execute r3.gwflow }}
-	{command {[G_msg "Interpolate volume from vector points"]} {} "v.vol.rst: Interpolate volume from vector points using splines" {} -command {execute v.vol.rst }}
-	{cascad {[G_msg "Report and Statistics"]} {} "" $tmenu {			
-		{command {[G_msg "Basic information"]} {} "r3.info: Display information about grid3D volume" {} -command {execute r3.info }}
-	}}
- } 
- {[G_msg "&Databases"]} all options $tmenu {
-	{cascad {[G_msg "Database information"]} {} "" $tmenu {			
-		{command {[G_msg "Describe table"]} {} "db.describe: Describe table structure and attributes" {} -command {execute db.describe }}
-		{command {[G_msg "List columns"]} {} "db.columns: List columns for selected table" {} -command {execute db.columns }}
-		{command {[G_msg "List drivers"]} {} "db.drivers: List available database drivers" {} -command {execute db.drivers }}
-		{command {[G_msg "List tables"]} {} "db.tables: List tables in database" {} -command {execute db.tables }}
-	}}
-	{separator}
-	{cascad {[G_msg "Manage database"]} {} "" $tmenu {			
-		{command {[G_msg "Connect to database"]} {} "db.connect: Connect to database" {} -command {execute db.connect }}
-		{command {[G_msg "Login to database"]} {} "db.login: Login to database" {} -command {execute db.login }}
-		{separator}
-		{command {[G_msg "Copy table"]} {} "db.copy: Copy attribute table" {} -command {execute db.copy }}
-		{command {[G_msg "New table"]} {} "v.db.addtable: Create and connect new attribute table to vector map" {} -command {execute v.db.addtable }}
-		{command {[G_msg "Remove table"]} {} "v.db.droptable: Remove existing attribute table for vector map" {} -command {execute v.db.droptable }}
-		{separator}
-		{command {[G_msg "Add columns"]} {} "v.db.addcol: Add columns to table" {} -command {execute v.db.addcol }}
-		{command {[G_msg "Change values"]} {} "v.db.update: Change values in a column" {} -command {execute v.db.update }}
-		{command {[G_msg "Drop column"]} {} "v.db.dropcol: Drop column from a table" {} -command {execute v.db.dropcol }}
-		{command {[G_msg "Rename a column"]} {} "v.db.renamecol: Rename a column" {} -command {execute v.db.renamecol }}
-		{separator}
-		{command {[G_msg "Test database"]} {} "db.test: Test database" {} -command {execute db.test }}
-	}}
-	{separator}
-	{cascad {[G_msg "Query"]} {} "" $tmenu {			
-		{command {[G_msg "Query any table"]} {} "db.select: Query data in any table" {} -command {execute db.select }}
-		{command {[G_msg "Query vector attribute table"]} {} "v.db.select: Query vector attribute data" {} -command {execute v.db.select }}
-		{command {[G_msg "SQL statement"]} {} "db.execute: Execute SQL statement" {} -command {execute db.execute }}
-	}}
-	{cascad {[G_msg "Vector<->database connections"]} {} "" $tmenu {			
-		{command {[G_msg "Reconnect vector to database"]} {} "v.db.reconnect.all: Reconnect vector map to attribute database" {} -command {execute v.db.reconnect.all }}
-		{command {[G_msg "Set vector - database connection"]} {} "v.db.connect: Set database connection for vector attributes" {} -command {execute v.db.connect }}
-	}}
- } 
-{[G_msg "&Help"]} all options $tmenu {
-	{command {[G_msg "GRASS help"]} {} "g.manual" {} -command { exec g.manual -i > $devnull & } }
-	{command {[G_msg "GIS Manager &help"]} {} {[G_msg "GIS Manager help"]} {} -command { exec g.manual gis.m > $devnull & } }
-	{command {[G_msg "About &GRASS"]} {} {[G_msg "About GRASS"]} {} -command { source $env(GISBASE)/etc/gm/grassabout.tcl} }
-	{command {[G_msg "About &System"]} {} {[G_msg "About System"]} {} -command { exec $env(GRASS_WISH) $env(GISBASE)/etc/gm/tksys.tcl --tcltk & }}
- }
-
-}]
-
-# Should we add an Xtns menu entry?
-if { $XtnsMenu == "True" } {
-	# build extension menu
-	lappend descmenu [G_msg "&Xtns"]
-	lappend descmenu all
-	lappend descmenu options
-	lappend descmenu $tmenu
-	lappend descmenu $menulist
-}

Deleted: grass-addons/imagery/gipe/install_yanns_grass.sh
===================================================================
--- grass-addons/imagery/gipe/install_yanns_grass.sh	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/install_yanns_grass.sh	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,80 +0,0 @@
-#!/bin/bash
-
-# This is a try to install all these modules through a GRASS SVN tree
-# It will copy, untar and make/make install as required.
-
-
-#CHANGE THIS TO YOUR SVN TREE DIRECTORY 
-GRASSSVNDIR=/home/yann/tmp/grass_yann
-ADDONSVNDIR=/home/yann/coding/grass-addons
-
-# This Assumes you start in GIPE directory
-GIPEDIR=$ADDONSVNDIR/imagery/gipe
-#HFDIR=$ADDONSVNDIR/HydroFOSS
-RSTDIR=$ADDONSVNDIR/raster
-
-#INSTALL MODULES
-#START RASTER STUFF
-cd $GIPEDIR/
-for directory in r.*
-do
-	cp -rf $GIPEDIR/$directory $GRASSSVNDIR/raster/
-done
-
-#cd $HFDIR/
-#for directory in r.*
-#do
-#	cp -rf $HFDIR/$directory $GRASSSVNDIR/raster/
-#done
-#cp -rf $GIPEDIR/Makefile.PM $GRASSSVNDIR/raster/r.evapo.PM/Makefile
-
-#cd $RSTDIR/
-#for directory in r.inund.fluv*
-#do
-#	cp -rf $RSTDIR/$directory $GRASSSVNDIR/raster/
-#done
-
-cp -f $GIPEDIR/Makefile.raster $GRASSSVNDIR/raster/Makefile.gipe 
-cd $GRASSSVNDIR/raster/
-make -f Makefile.gipe
-#END RASTER STUFF
-
-#START IMAGERY STUFF
-cd $GIPEDIR/
-for directory in i.*
-do
-	cp -rf $GIPEDIR/$directory $GRASSSVNDIR/imagery/ 
-done
-
-cd $ADDONSVNDIR/
-for directory in i.*
-do
-	cp -rf $ADDONSVNDIR/$directory $GRASSSVNDIR/imagery/ 
-done
-
-cd $ADDONSVNDIR/imagery/
-for directory in i.*
-do
-	cp -rf $ADDONSVNDIR/imagery/$directory $GRASSSVNDIR/imagery/ 
-done
-
-cp -f $GIPEDIR/Makefile.imagery $GRASSSVNDIR/imagery/Makefile.gipe
-cd $GRASSSVNDIR/imagery/
-make -f Makefile.gipe
-#END IMAGERY STUFF
-
-#Install m.gem in /scripts
-#cp -rf $GIPEDIR/m.gem $GRASSSVNDIR/scripts/ 
-#cp -f $GIPEDIR/Makefile.scripts $GRASSSVNDIR/scripts/Makefile.gipe 
-#cd $GRASSSVNDIR/scripts/
-#make -f Makefile.scripts
-
-#Install GUI stuff
-cp -rf $GIPEDIR/gmmenu.tcl $GRASSSVNDIR/gui/tcltk/gis.m/ 
-cp -rf $GIPEDIR/menudata.py $GRASSSVNDIR/gui/wxpython/gui_modules/ 
-cd $GRASSSVNDIR/gui
-make
-
-cd $GRASSSVNDIR
-make install
-

Deleted: grass-addons/imagery/gipe/menudata.py
===================================================================
--- grass-addons/imagery/gipe/menudata.py	2011-01-12 05:42:34 UTC (rev 44980)
+++ grass-addons/imagery/gipe/menudata.py	2011-01-12 05:44:30 UTC (rev 44981)
@@ -1,1813 +0,0 @@
-"""
- at package menudata.py
-
- at brief Complex list for main menu entries for GRASS wxPython GUI.
-
-Classes:
- - Data
-
-COPYRIGHT:  (C) 2007-2008 by the GRASS Development Team
-This program is free software under the GNU General Public
-License (>=v2). Read the file COPYING that comes with GRASS
-for details.
-
- at author Michael Barton (Arizona State University)
- at author Yann Chemin
- at author Martin Landa <landa.martin gmail.com>
-"""
-
-import os
-
-class Data:
-    '''Data object that returns menu descriptions to be used in wxgui.py.
-    Probably could be changed to XML or *.dtd file.'''
-    def GetMenu(self):
-        return [(
-                (_("File"), (
-                        (_("Workspace"), (
-                                (_("New workspace"),
-                                 _("Create new workspace file (erase current workspace settings first)"),
-                                 "self.OnWorkspaceNew",
-                                 ""),
-                                (_("Open existing workspace"),
-                                 _("Open existing workspace file"),
-                                 "self.OnWorkspaceOpen",
-                                 ""),
-                                (_("Load map layers"),
-                                 _("Load map layers into layer tree"),
-                                 "self.OnWorkspaceLoad",
-                                 ""),
-                                (_("Save workspace"),
-                                 _("Save current workspace to file"),
-                                 "self.OnWorkspaceSave",
-                                 ""),
-                                (_("Save workspace as"),
-                                 _("Save current workspace as file"),
-                                 "self.OnWorkspaceSaveAs",
-                                 ""),
-                                (_("Close current workspace"),
-                                 _("Close current workspace file"),
-                                 "self.OnWorkspaceClose",
-                                 ""),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Import raster map"), (
-                                (_("Multiple import formats using GDAL"),
-                                 _("Import file in format supported by GDAL"),
-                                 "self.OnMenuCmd",
-                                 "r.in.gdal"),
-                                ("","","", ""),
-                                (_("Aggregate ASCII xyz import"),
-                                 _("Import aggregated ASCII xyz data"),
-                                 "self.OnMenuCmd",
-                                 "r.in.xyz"),
-                                (_("ASCII grid import"),
-                                 _("Import ASCII GRID (includes GRASS ASCII)"),
-                                 "self.OnMenuCmd",
-                                 "r.in.ascii"),
-                                (_("ASCII polygons and lines import"),
-                                 _("Import polygons and lines from ASCII file"),
-                                 "self.OnMenuCmd",
-                                 "r.in.poly"),
-                                ("","","", ""),
-                                (_("Binary file import"),
-                                 _("Import binary file (includes GTOPO30 format)"),
-                                 "self.OnMenuCmd",
-                                 "r.in.bin"),
-                                (_("ESRI ASCII grid import"),
-                                 _("Import ESRI Arc/Info ASCII grid"),
-                                 "self.OnMenuCmd",
-                                 "r.in.arc"),
-                                (_("GRIDATB.FOR import"),
-                                 _("Import GRIDATB.FOR map file (TOPMODEL)"),
-                                 "self.OnMenuCmd",
-                                 "r.in.gridatb"),
-                                (_("MAT-File (v.4) import"),
-                                 _("Import MAT-File (v.4) array (Matlab or Octave)"),
-                                 "self.OnMenuCmd",
-                                 "r.in.mat"),
-                                (_("SPOT NDVI import"),
-                                 _("Import SPOT vegetation NDVI data sets"),
-                                 "self.OnMenuCmd",
-                                 "r.in.spotvgt"),
-                                (_("SRTM HGT import"),
-                                 _("Import SRTM HGT files"),
-                                 "self.OnMenuCmd", "r.in.srtm"),
-                                (_("Terra ASTER HDF import"),
-                                 _("Import Terra ASTER HDF files"),
-                                 "self.OnMenuCmd",
-                                 "r.in.aster"),
-                                ("","","", ""),
-                                (_("WMS import"),
-                                 _("Import Web Mapping Server layer"),
-                                 "self.OnMenuCmd",
-                                 "r.in.wms"),
-                                )
-                         ),
-                        (_("Import vector map"), (
-                                (_("Multiple import formats using OGR"),
-                                 _("Import file in format supported by OGR (e.g. Shapefile)"),
-                                 "self.OnMenuCmd",
-                                 "v.in.ogr"),
-                                ("","","", ""),
-                                (_("ASCII points/GRASS ASCII vector import"),
-                                 _("Import ASCII points file or GRASS ASCII vector file"),
-                                 "self.OnMenuCmd",
-                                 "v.in.ascii"),
-                                (_("Old GRASS vector import"),
-                                 _("Import file in old GRASS vector format"),
-                                 "self.OnMenuCmd",
-                                 "v.convert"),
-                                ("","","", ""),
-                                (_("DXF import"),
-                                 _("Import DXF file"),
-                                 "self.OnMenuCmd",
-                                 "v.in.dxf"),
-                                (_("ESRI e00 import"),
-                                 _("Import ESRI e00 file"),
-                                 "self.OnMenuCmd",
-                                 "v.in.e00"),
-                                (_("Garmin GPS import"),
-                                 _("Import Garmin GPS Waypoints/Routes/Tracks"),
-                                 "self.OnMenuCmd",
-                                 "v.in.garmin"),
-                                (_("GPSBabel GPS import"),
-                                 _("Import GPS Waypoints/Routes/Tracks using GPSBabel"),
-                                 "self.OnMenuCmd",
-                                 "v.in.gpsbabel"),
-                                (_("GEOnet import"),
-                                 _("Import GEOnet Name server country files (US-NGA GNS)"),
-                                 "self.OnMenuCmd",
-                                 "v.in.gns"),
-                                (_("Matlab and MapGen import"),
-                                 _("Import Matlab and MapGen files"),
-                                 "self.OnMenuCmd",
-                                 "v.in.mapgen"),
-                                )
-                         ),
-                        (_("Import grid 3D volume"), (
-                                (_("ASCII 3D import"),
-                                 _("Import ASCII Raster 3D file"),
-                                 "self.OnMenuCmd",
-                                 "r3.in.ascii"),
-                                (_("Vis5D import"),
-                                 _("Import Vis5D file"),
-                                 "self.OnMenuCmd",
-                                 "r3.in.v5d"),
-                                )
-                         ),
-                        (_("Import database table"), (
-                                (_("Multiple import formats using OGR"),
-                                 _("Import database file in format supported by OGR"),
-                                 "self.OnMenuCmd",
-                                 "db.in.ogr"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Export raster map"), (
-                                (_("Multiple export formats using GDAL"),
-                                 _("Export raster map to format supported by GDAL"),
-                                 "self.OnMenuCmd",
-                                 "r.out.gdal"),
-                                ("","","", ""),
-                                (_("ASCII grid export"),
-                                 _("Export ASCII grid (for GRASS, Surfer, Modflow, etc.)"),
-                                 "self.OnMenuCmd",
-                                 "r.out.ascii"),
-                                (_("ASCII x,y,z export"),
-                                 _("Export ASCII x,y,z values of cell centers"),
-                                 "self.OnMenuCmd",
-                                 "r.out.xyz"),
-                                ("","","", ""),
-                                (_("ESRI ASCII grid export"),
-                                 _("Export ESRI Arc/Info ASCII grid"),
-                                 "self.OnMenuCmd",
-                                 "r.out.arc"),
-                                (_("GRIDATB.FOR export"),
-                                 _("Export GRIDATB.FOR map file (TOPMODEL)"),
-                                 "self.OnMenuCmd",
-                                 "r.out.gridatb"),
-                                (_("MAT-File (v.4) export"),
-                                 _("Export MAT-File (v.4) array (Matlab or Octave)"),
-                                 "self.OnMenuCmd",
-                                 "r.out.mat"),
-                                ("","","", ""),
-                                (_("Binary export"),
-                                 _("Export binary file"),
-                                 "self.OnMenuCmd",
-                                 "r.out.bin"),
-                                ("","","", ""),
-                                (_("MPEG-1 export"),
-                                 _("Export MPEG-1 animations"),
-                                 "self.OnMenuCmd",
-                                 "r.out.mpeg"),
-                                (_("PNG export"),
-                                 _("Export PNG image (not georeferenced)"),
-                                 "self.OnMenuCmd",
-                                 "r.out.png"),
-                                (_("PPM export"),
-                                 _("Export PPM image (24bit)"),
-                                 "self.OnMenuCmd",
-                                 "r.out.ppm"),
-                                (_("PPM from RGB export"),
-                                 _("Export PPM image from red, green, blue raster maps"),
-                                 "self.OnMenuCmd",
-                                 "r.out.ppm3"),
-                                (_("POV-Ray export"),
-                                 _("Export POVray height-field"),
-                                 "self.OnMenuCmd",
-                                 "r.out.pov"),
-                                (_("TIFF export"),
-                                 _("Export TIFF image (8/24bit)"),
-                                 "self.OnMenuCmd",
-                                 "r.out.tiff"),
-                                (_("VIC export"),
-                                 _("Export VIC ASCII file"),
-                                 "self.OnMenuCmd",
-                                 "r.out.vic"),
-                                (_("VRML export"),
-                                 _("Export VRML file"),
-                                 "self.OnMenuCmd",
-                                 "r.out.vrml"),
-                                (_("VTK export"),
-                                 _("Export VTK ASCII file"),
-                                 "self.OnMenuCmd",
-                                 "r.out.vtk"),
-                                )
-                         ),
-                        (_("Export vector map"), (
-                                (_("Multiple export formats using OGR"),
-                                 _("Export vector map to format supported by OGR (e.g. Shapefile)"),
-                                 "self.OnMenuCmd",
-                                 "v.out.ogr"),
-                                ("","","", ""),
-                                (_("ASCII points/GRASS ASCII vector export"),
-                                 _("Export vector map into ASCII points file or GRASS ASCII vector file"),
-                                 "self.OnMenuCmd",
-                                 "v.out.ascii"),
-                                (_("DXF export"),
-                                 _("Export vector map into DXF file"),
-                                 "self.OnMenuCmd",
-                                 "v.out.dxf"),
-                                (_("POV-Ray export"),
-                                 _("Export vector map into POV-Ray format file"),
-                                 "self.OnMenuCmd",
-                                 "v.out.pov"),
-                                (_("SVG export"),
-                                 _("Export vector map into SVG file"),
-                                 "self.OnMenuCmd",
-                                 "v.out.svg"),
-                                (_("VTK export"),
-                                 _("Export vector map into VTK ASCII file"),
-                                 "self.OnMenuCmd",
-                                 "v.out.vtk"),
-                                )
-                         ),
-                        (_("Export grid 3D volume"), (
-                                (_("ASCII 3D export"),
-                                 _("Export ASCII 3D file"),
-                                 "self.OnMenuCmd",
-                                 "r3.out.ascii"),
-                                (_("Vis5D export"),
-                                 _("Export Vis5D file"),
-                                 "self.OnMenuCmd",
-                                 "r3.out.v5d"),
-                                (_("VTK export"),
-                                 _("Export VTK ASCII file"),
-                                 "self.OnMenuCmd",
-                                 "r3.out.vtk"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Manage maps and volumes"), (
-                                (_("Copy"),
-                                 _("Copy maps (GIS elements) within mapsets or between mapsets"),
-                                 "self.OnMenuCmd",
-                                 "g.copy"),
-                                ("","","", ""),
-                                (_("List"),
-                                 _("List by type"),
-                                 "self.OnMenuCmd",
-                                 "g.list"),
-                                (_("List filtered"),
-                                 _("List maps (GIS elements) filtered by expressions and wildcards"),
-                                 "self.OnMenuCmd",
-                                 "g.mlist"),
-                                ("","","", ""),
-                                (_("Rename"),
-                                 _("Rename maps (GIS elements)"),
-                                 "self.OnMenuCmd",
-                                 "g.rename"),
-                                ("","","", ""),
-                                (_("Delete"),
-                                 _("Delete maps (GIS elements)"),
-                                 "self.OnMenuCmd",
-                                 "g.remove"),
-                                (_("Delete filtered"),
-                                 _("Delete maps (GIS elements) using expressions and wildcards"),
-                                 "self.OnMenuCmd",
-                                 "g.mremove"),
-                                )
-                         ),
-                        (_("Map type conversions"), (
-                                (_("Raster to vector"),
-                                 _("Convert raster to vector map"),
-                                 "self.OnMenuCmd",
-                                 "r.to.vect"),
-                                (_("Raster series to volume"),
-                                 _("Convert raster map series to volume"),
-                                 "self.OnMenuCmd",
-                                 "r.to.rast3"),
-                                (_("Raster 2.5D to volume"),
-                                 _("Convert raster 2.5D map to volume"),
-                                 "self.OnMenuCmd",
-                                 "r.to.rast3elev"),
-                                ("","","", ""),
-                                (_("Vector to raster"),
-                                 _("Convert vector to raster map"),
-                                 "self.OnMenuCmd",
-                                 "v.to.rast"),
-                                (_("Vector to volume"),
-                                 _("Convert vector 3D points to volume voxels"),
-                                 "self.OnMenuCmd",
-                                 "v.to.rast3"),
-                                (_("Sites to vector"),
-                                 _("Convert sites (GRASS 5) to vector map"),
-                                 "self.OnMenuCmd",
-                                 "v.in.sites"),
-                                ("","","", ""),
-                                (_("Volume to raster series"),
-                                 _("Convert 3D raster to raster series map"),
-                                 "self.OnMenuCmd",
-                                 "r3.to.rast"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Georectify"),
-                         _("Georectify raster and vector maps"),
-                         "self.OnGeorectify",
-                         ""),
-                        ("","","", ""),
-                        (_("NVIZ (requires Tcl/Tk)"),
-                         _("N-Dimensional visualization of 2D and 3D raster/vector maps"),
-                         "self.OnMenuCmd",
-                         "nviz"),
-                        ("","","", ""),
-                        (_("Bearing/distance to coordinates"),
-                         _("Convert between bearing/distance and coordinates"),
-                         "self.OnMenuCmd",
-                         "m.cogo"),
-                        ("","","", ""),
-                        (_("Postscript plot"),
-                         _("Create cartographic PostScript plot"),
-                         "self.OnMenuCmd",
-                         "ps.map"),
-                        ("","","", ""),
-                        (_("E&xit"),
-                         _("Exit GUI"),
-                         "self.OnCloseWindow",
-                         ""),
-                        )
-                 ),
-                (_("Config"), (
-                        (_("Region"), (
-                                (_("Display region"),
-                                 _("Display region settings (bounding box and resolution)"),
-                                 "self.RunMenuCmd",
-                                 "g.region -p"),
-                                (_("Set region"),
-                                 _("Change region settings"),
-                                 "self.OnMenuCmd",
-                                 "g.region"),
-                                )
-                         ),
-                        (_("GRASS working environment"), (
-                                (_("Mapset access"),
-                                 _("Set/unset access to other mapsets in current location"),
-                                 "self.OnMapsets",
-                                 ""),
-                                (_("Change working environment"),
-                                 _("Change current working session to new mapset, location, or data directory"),
-                                 "self.OnMenuCmd",
-                                 "g.mapset"),
-                                (_("User access"),
-                                 _("Change access by other users to current mapset"),
-                                 "self.OnMenuCmd",
-                                 "g.access"),
-                                (_("Show settings"),
-                                 _("Show current GRASS environment settings"),
-                                 "self.RunMenuCmd",
-                                 "g.gisenv"),
-                                (_("Change settings"),
-                                 _("Change GRASS environment settings"),
-                                 "self.OnMenuCmd",
-                                 "g.gisenv"),
-                                (_("Version"),
-                                 _("Show current GRASS version"),
-                                 "self.RunMenuCmd",
-                                 "g.version -c"),
-                                )
-                         ),
-                        (_("Manage projections"), (
-                                (_("Manage projections"),
-                                 _("Show projection information and create projection files"),
-                                 "self.OnMenuCmd",
-                                 "g.proj"),
-                                (_("Projection for current location"),
-                                 _("Create/edit projection information for current location"),
-                                 "self.OnXTerm",
-                                 "g.setproj"),
-                                ("","","", ""),
-                                (_("Convert coordinates"),
-                                 _("Convert coordinates from one projection to another"),
-                                 "self.OnMenuCmd",
-                                 "m.proj"),
-                                )
-                         ),
-                        (_("Preferences"),
-                         _("User GUI preferences (display font, commands, digitizer, etc.)"),
-                         "self.OnPreferences",
-                         ""),
-                        )
-                 ),
-                (_("Raster"), (
-                        (_("Develop raster map"), (
-                                (_("Digitize raster (requires XTerm)"),
-                                 _("Digitize raster map"),
-                                 "self.OnXTerm",
-                                 "r.digit"),
-                                ("","","", ""),
-                                (_("Compress/decompress"),
-                                 _("Compress/decompress raster file"),
-                                 "self.OnMenuCmd",
-                                 "r.compress"),
-                                ("","","", ""),
-                                (_("Region boundaries"),
-                                 _("Manage region boundary definition"),
-                                 "self.OnMenuCmd",
-                                 "r.region"),
-                                (_("Manage NULL values"),
-                                 _("Manage NULL values"),
-                                 "self.OnMenuCmd",
-                                 "r.null"),
-                                (_("Quantization"),
-                                 _("Quantization for floating-point maps"),
-                                 "self.OnMenuCmd",
-                                 "r.quant"),
-                                (_("Timestamp"),
-                                 _("Manage timestamp for files"),
-                                 "self.OnMenuCmd",
-                                 "r.timestamp"),
-                                ("","","", ""),
-                                (_("Resample using aggregate statistics"),
-                                 _("Resample raster map (change resolution) using aggregate statistics"),
-                                 "self.OnMenuCmd",
-                                 "r.resamp.stats"),
-                                (_("Resample using multiple methods"),
-                                 _("Resample raster map (change resolution) using nearest neighbor, bilinear, or bicubic interpolation"),
-                                 "self.OnMenuCmd",
-                                 "r.resamp.interp"),
-                                (_("Resample using nearest neighbor"),
-                                 _("Resample raster map (change resolution) using nearest neighbor interpolation"),
-                                 "self.OnMenuCmd",
-                                 "r.resample"),
-                                (_("Resample using spline tension"),
-                                 _("Resample raster map (change resolution) using regularized spline tension"),
-                                 "self.OnMenuCmd",
-                                 "r.resamp.rst"),
-                                ("","","", ""),
-                                (_("Support file maintenance"),
-                                 _("Support raster map file creation and maintenance"),
-                                 "self.OnMenuCmd",
-                                 "r.support"),
-                                (_("Update map statistics"),
-                                 _("Update raster map statistics"),
-                                 "self.OnMenuCmd",
-                                 "r.support.stats"),
-                                ("","","", ""),
-                                (_("Reproject raster"),
-                                 _("Reproject raster map from other location"),
-                                 "self.OnMenuCmd",
-                                 "r.proj"),
-                                (_("Tiling"),
-                                 _("Generate tiling for other projection"),
-                                 "self.OnMenuCmd",
-                                 "r.tileset"),
-                                )),
-                        (_("Manage colors"), (
-                                (_("Color tables"),
-                                 _("Set colors to predefined color tables"),
-                                 "self.OnMenuCmd",
-                                 "r.colors"),
-                                (_("Color rules"),
-                                 _("Set colors interactively by entering color rules"),
-                                 "self.RulesCmd",
-                                 "r.colors"),
-                                ("","","", ""),
-                                (_("Blend 2 color rasters"),
-                                 _("Blend 2 color raster maps to produce 3 RGB files"),
-                                 "self.OnMenuCmd",
-                                 "r.blend"),
-                                (_("Create RGB"),
-                                 _("Create color image from RGB raster maps"),
-                                 "self.OnMenuCmd",
-                                 "r.composite"),
-                                (_("RGB to HIS"),
-                                 _("Create 3 RGB (red, green, blue) maps from 3 HIS (hue, intensity, saturation) maps"),
-                                 "self.OnMenuCmd",
-                                 "r.his"),
-                                )),
-                        (_("Query by coordinates"),
-                         _("Query raster map by coordinates"),
-                         "self.OnMenuCmd",
-                         "r.what"),
-                        ("","","", ""),
-                        (_("Buffer rasters"),
-                         _("Create raster buffers around raster objects"),
-                         "self.OnMenuCmd",
-                         "r.buffer"),
-                        (_("Closest points"),
-                         _("r.distance"),
-                         "self.OnMenuCmd",
-                         "r.distance"),
-                        (_("Mask"),
-                         _("Develop raster mask"),
-                         "self.OnMenuCmd",
-                         "r.mask"),
-                        (_("Map calculator"),
-                         _("Map calculator for raster map algebra"),
-                         "self.DispMapCalculator",
-                         ""),
-                        (_("Neighborhood analysis"), (
-                                (_("Moving window"),
-                                 _("Moving window analysis of raster cells"),
-                                 "self.OnMenuCmd",
-                                 "r.neighbors"),
-                                (_("Neighborhood points"),
-                                 _("Analyze vector points in neighborhood of raster cells"),
-                                 "self.OnMenuCmd",
-                                 "v.neighbors"),
-                                )
-                         ),
-                        (_("Overlay rasters"), (
-                                (_("Cross product"),
-                                 _("Create raster cross product"),
-                                 "self.OnMenuCmd",
-                                 "r.cross"),
-                                (_("Raster series"),
-                                 _("Function of raster map series (time series)"),
-                                 "self.OnMenuCmd",
-                                 "r.series"),
-                                (_("Patch raster maps"),
-                                 _("Patch several raster maps"),
-                                 "self.OnMenuCmd",
-                                 "r.patch"),
-                                ("","","", ""),
-                                (_("Statistical overlay"),
-                                 _("Statistical calculations for cover raster map over base raster map"),
-                                 "self.OnMenuCmd",
-                                 "r.statistics"),
-                                )
-                         ),
-                        (_("Solar radiance and shadows"), (
-                                (_("Solar irradiance and irradiation"),
-                                 _("Solar irradiance and daily irradiation"),
-                                 "self.OnMenuCmd",
-                                 "r.sun"),
-                                (_("Shadows map"),
-                                 _("Shadows raster map for sun position or date/time"),
-                                 "self.OnMenuCmd",
-                                 "r.sunmask"),
-                                )
-                         ),
-                        (_("Terrain analysis"), (
-                                (_("Cumulative movement costs"),
-                                 _("Calculate cumulative movement costs between locales"),
-                                 "self.OnMenuCmd",
-                                 "r.walk"),
-                                (_("Cost surface"),
-                                 _("Create raster map of cost surface"),
-                                 "self.OnMenuCmd",
-                                 "r.cost"),
-                                (_("Least cost route or flow"),
-                                 _("Create raster map of least cost route or flow"),
-                                 "self.OnMenuCmd",
-                                 "r.drain"),
-                                ("","","", ""),
-                                (_("Shaded relief"),
-                                 _("Shaded relief raster map"),
-                                 "self.OnMenuCmd",
-                                 "r.shaded.relief"),
-                                ("","","", ""),
-                                (_("Slope and aspect"),
-                                 _("Create raster map of slope and aspect"),
-                                 "self.OnMenuCmd",
-                                 "r.slope.aspect"),
-                                (_("Terrain parameters"),
-                                 _("Calculate terrain parameters"),
-                                 "self.OnMenuCmd",
-                                 "r.param.scale"),
-                                (_("Textural features"),
-                                 _("Textural features analysis"),
-                                 "self.OnMenuCmd",
-                                 "r.texture"),
-                                ("","","", ""),
-                                (_("Visibility"),
-                                 _("Visibility and line of sight"),
-                                 "self.OnMenuCmd",
-                                 "r.los"),
-                                )
-                         ),
-                        (_("Transform features"), (
-                                (_("Clump"),
-                                 _("Clump small areas (statistics calculated by r.volume)"),
-                                 "self.OnMenuCmd",
-                                 "r.clump"),
-                                (_("Grow"),
-                                 _("Grow raster areas"),
-                                 "self.OnMenuCmd",
-                                 "r.grow"),
-                                (_("Thin"),
-                                 _("Thin linear features"),
-                                 "self.OnMenuCmd",
-                                 "r.thin"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Soil and USLE"), (
-                                (_("Soil Classes->Soil Fractions"),
-                                 _("Soil USDA classes to sand,silt,clay"),
-                                 "self.OnMenuCmd",
-                                 "r.soilusda2tex"),
-                                (_("Soil Texture->properties"),
-                                 _("Soil Texture to Ksat/Porosity/Hf"),
-                                 "self.OnMenuCmd",
-                                 "r.soiltex2prop"),
-                        	("","","", ""),
-                                (_("Rainfall Erosivity (R)"),
-                                 _("Rainfall Erosivity (R)"),
-                                 "self.OnMenuCmd",
-                                 "r.usler"),
-                                (_("Soil Erodibility (K)"),
-                                 _("Soil Erodibility (K)"),
-                                 "self.OnMenuCmd",
-                                 "r.uslek"),
-                                (_("Length Slope and Slope (LS)"),
-                                 _("Length Slope and Slope (LS)"),
-                                 "self.OnMenuCmd",
-                                 "r.watershed"),
-                                )
-                         ),
-                        (_("Hydrologic modeling"), (
-                                (_("CASC2D"),
-                                 _("CASC2D hydrological model"),
-                                 "self.OnMenuCmd",
-                                 "r.hydro.CASC2D"),
-                                (_("Carve stream channels"),
-                                 _("Carve stream channels into elevation map using vector streams map"),
-                                 "self.OnMenuCmd",
-                                 "r.carve"),
-                                (_("Fill lake"),
-                                 _("Fill lake from seed point to specified level"),
-                                 "self.OnMenuCmd",
-                                 "r.lake"),
-                                ("","","", ""),
-                                (_("Depressionless map and flowlines"),
-                                 _("Depressionless elevation map and flowline map"),
-                                 "self.OnMenuCmd",
-                                 "r.fill.dir"),
-                                (_("Flow accumulation"),
-                                 _("Flow accumulation for massive grids"),
-                                 "self.OnMenuCmd",
-                                 "r.terraflow"),
-                                (_("Flow lines"),
-                                 _("Generate flow lines for raster map"),
-                                 "self.OnMenuCmd",
-                                 "r.flow"),
-                                ("","","", ""),
-                                (_("SIMWE Overland flow modeling"),
-                                 _("SIMWE overland flow modeling analysis"),
-                                 "self.OnMenuCmd",
-                                 "r.sim.water"),
-                                (_("SIMWE Sediment flux modeling"),
-                                 _("SIMWE sediment erosion, transport, deposition modeling"),
-                                 "self.OnMenuCmd",
-                                 "r.sim.sediment"),
-                                ("","","", ""),
-                                (_("Topographic index map"),
-                                 _("Create topographic index raster map"),
-                                 "self.OnMenuCmd",
-                                 "r.topidx"),
-                                (_("TOPMODEL simulation"),
-                                 _("TOPMODEL simulation analysis"),
-                                 "self.OnMenuCmd",
-                                 "r.topmodel"),
-                                ("","","", ""),
-                                (_("Watershed subbasins"),
-                                 _("Watershed subbasins modelling"),
-                                 "self.OnMenuCmd",
-                                 "r.basins.fill"),
-                                (_("Watershed analysis"),
-                                 _("Run watershed analysis"),
-                                 "self.OnMenuCmd",
-                                 "r.watershed"),
-                                (_("Watershed basin creation"),
-                                 _("Watershed basin creation"),
-                                 "self.OnMenuCmd",
-                                 "r.water.outlet"),
-                                )
-                         ),
-                        (_("Landscape structure modeling"), (
-                                (_("Set up (requires XTerm)"),
-                                 _("Set up sampling and analysis framework"),
-                                 "self.OnXTerm",
-                                 "r.le.setup"),
-                                ("","","", ""),
-                                (_("Analyze landscape"),
-                                 _("Analyze landscape characteristics"),
-                                 "self.OnMenuCmd",
-                                 "r.le.pixel"),
-                                (_("Analyze patches"),
-                                 _("Analyze landscape patch characteristics"),
-                                 "self.OnMenuCmd",
-                                 "r.le.patch"),
-                                (_("Output"),
-                                 _("Output landscape patch information"),
-                                 "self.OnMenuCmd",
-                                 "r.le.trace"),
-                                )
-                         ),
-                        (_("Landscape patch analysis"), (
-                                (_("Set up sampling and analysis framework"),
-                                 _("Configure and create patch map for analysis"),
-                                 "self.OnMenuCmd",
-                                 "r.li.setup"),
-                                ("","","", ""),
-                                (_("Edge density"),
-                                 _("Calculate edge density index using a 4 neighbour algorithm"),
-                                 "self.OnMenuCmd",
-                                 "r.li.edgedensity"),
-                                (_("Contrast weighted edge density"),
-                                 _("Calculate contrast weighted edge density index"),
-                                 "self.OnMenuCmd",
-                                 "r.li.cwed"),
-                                ("","","", ""),
-                                (_("Patch area mean"),
-                                 _("Calculate mean patch size index using a 4 neighbour algorithm"),
-                                 "self.OnMenuCmd",
-                                 "r.li.mps"),
-                                (_("Patch area range"),
-                                 _("Calculate range of patch area size"),
-                                 "self.OnMenuCmd",
-                                 "r.li.padrange"),
-                                (_("Patch area Std Dev"),
-                                 _("Calculate standard deviation of patch area"),
-                                 "self.OnMenuCmd",
-                                 "r.li.padsd"),
-                                (_("Patch area Coeff Var"),
-                                 _("Calculate coefficient of variation of patch area"),
-                                 "self.OnMenuCmd",
-                                 "r.li.padcv"),
-                                (_("Patch density"),
-                                 _("Calculate patch density index using a 4 neighbour algorithm"),
-                                 "self.OnMenuCmd",
-                                 "r.li.patchdensity"),
-                                (_("Patch number"),
-                                 _("Calculate patch number index using a 4 neighbour algorithm"),
-                                 "self.OnMenuCmd",
-                                 "r.li.patchnum"),
-                                ("","","", ""),
-                                (_("Dominance's diversity"),
-                                 _("Calculate Dominance's diversity index"),
-                                 "self.OnMenuCmd",
-                                 "r.li.dominance"),
-                                (_("Shannon's diversity"),
-                                 _("Calculate Shannon's diversity index"),
-                                 "self.OnMenuCmd",
-                                 "r.li.shannon"),
-                                (_("Simpson's diversity"),
-                                 _("Calculate Simpson's diversity index"),
-                                 "self.OnMenuCmd",
-                                 "r.li.simpson"),
-                                ("","","", ""),
-                                (_("Richness"),
-                                 _("Calculate richness index"),
-                                 "self.OnMenuCmd",
-                                 "r.li.richness"),
-                                (_("Shape index"),
-                                 _("Calculate shape index"),
-                                 "self.OnMenuCmd",
-                                 "r.li.shape"),
-                                )
-                         ),
-                        (_("Wildfire modeling"), (
-                                (_("Rate of spread"),
-                                 _("Generate rate of spread (ROS) maps"),
-                                 "self.OnMenuCmd",
-                                 "r.ros"),
-                                (_("Least-cost spread paths"),
-                                 _("Generate least-cost spread paths"),
-                                 "self.OnMenuCmd",
-                                 "r.spreadpath"),
-                                (_("Anisotropic spread simulation"),
-                                 _("Simulate anisotropic spread phenomena"),
-                                 "self.OnMenuCmd",
-                                 "r.spread"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Change category values and labels"), (
-                                (_("Interactively edit category values"),
-                                 _("Edit category values of individual cells for displayed raster map"),
-                                 "self.OnMenuCmd",
-                                 "d.rast.edit"),
-                                ("","","", ""),
-                                (_("Reclassify by size"),
-                                 _("Reclassify raster categories for raster areas of specified sizes"),
-                                 "self.OnMenuCmd",
-                                 "r.reclass.area"),
-                                (_("Reclassify interactively"),
-                                 _("Reclassify raster categories interactively by entering reclass rules"),
-                                 "self.RulesCmd",
-                                 "r.reclass"),
-                                (_("Reclassify using rules file"),
-                                 _("Reclassify raster categories by inputting reclass rules from a text file"),
-                                 "self.OnMenuCmd",
-                                 "r.reclass"),
-                                ("","","", ""),
-                                (_("Recode interactively"),
-                                 _("Recode raster categories interactively by entering recode rules (create new raster map)"),
-                                 "self.RulesCmd",
-                                 "r.recode"),
-                                (_("Recode using rules file"),
-                                 _("Recode raster categories by inputting recode rules from a text file (create new map)"),
-                                 "self.OnMenuCmd",
-                                 "r.recode.file"),
-                                ("","","", ""),
-                                (_("Rescale"),
-                                 _("Rescale raster categories (create new raster map)"),
-                                 "self.OnMenuCmd",
-                                 "r.rescale"),
-                                (_("Rescale with histogram"),
-                                 _("Rescale raster categories with equalized histogram (create new raster map)"),
-                                 "self.OnMenuCmd",
-                                 "r.rescale.eq"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Concentric circles"),
-                         _("Generate concentric circles around points"),
-                         "self.OnMenuCmd",
-                         "r.circle"),
-                        (_("Generate random cells"), (
-                                (_("Random cells"),
-                                 _("Generate random raster cells"),
-                                 "self.OnMenuCmd",
-                                 "r.random.cells"),
-                                (_("Random cells and vector points"),
-                                 _("Generate random raster cells and vector points from raster map"),
-                                 "self.OnMenuCmd",
-                                 "r.random"),
-                                )
-                         ),
-                        (_("Generate surfaces"), (
-                                (_("Fractal surface"),
-                                 _("Generate fractal surface"),
-                                 "self.OnMenuCmd",
-                                 "r.surf.fractal"),
-                                ("","","", ""),
-                                (_("Gaussian kernel density surface"),
-                                 _("Generate density surface using moving Gaussian kernel"),
-                                 "self.OnMenuCmd",
-                                 "v.kernel"),
-                                (_("Gaussian deviates surface"),
-                                 _("Generate gaussian deviates surface"),
-                                 "self.OnMenuCmd",
-                                 "r.surf.gauss"),
-                                ("","","", ""),
-                                (_("Plane"),
-                                 _("Generate plane"),
-                                 "self.OnMenuCmd",
-                                 "r.plane"),
-                                ("","","", ""),
-                                (_("Random deviates surface"),
-                                 _("Generate random deviates surface"),
-                                 "self.OnMenuCmd",
-                                 "r.surf.random"),
-                                (_("Random surface with spatial dependence"),
-                                 _("Generate random surface with spatial dependence"),
-                                 "self.OnMenuCmd",
-                                 "r.random.surface"),
-                                )
-                         ),
-                        (_("Generate contour lines"),
-                         _("Generate vector contour lines"),
-                         "self.OnMenuCmd",
-                         "r.contour"),
-                        (_("Interpolate surfaces"), (
-                                (_("Bilinear from raster points"),
-                                 _("Bilinear interpolation from raster points"),
-                                 "self.OnMenuCmd",
-                                 "r.bilinear"),
-                                (_("Bilinear and bicubic from vector points"),
-                                 _("Bicubic and bilinear interpolation with Tykhonov regularization from vector points"),
-                                 "self.OnMenuCmd",
-                                 "v.surf.bspline"),
-                                ("","","", ""),
-                                (_("IDW from raster points"),
-                                 _("Inverse distance weighted interpolation from raster points"),
-                                 "self.OnMenuCmd",
-                                 "r.surf.idw"),
-                                (_("IDW from vector points"),
-                                 _("Inverse distance weighted interpolation from vector points"),
-                                 "self.OnMenuCmd",
-                                 "v.surf.idw"),
-                                ("","","", ""),
-                                (_("Raster contours"),
-                                 _("Interpolation from raster contour"),
-                                 "self.OnMenuCmd",
-                                 "r.surf.contour"),
-                                (_("Regularized spline tension"),
-                                 _("Regularized spline tension interpolation from vector points or contours"),
-                                 "self.OnMenuCmd",
-                                 "v.surf.rst"),
-                                ("","","", ""),
-                                (_("Fill NULL cells"),
-                                 _("Fill NULL raster cells by interpolation using regularized spline tension"),
-                                 "self.OnMenuCmd",
-                                 "r.fillnulls"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Report and statistics"), (
-                                (_("Basic raster metadata"),
-                                 _("Report basic raster map metadata"),
-                                 "self.OnMenuCmd",
-                                 "r.info"),
-                                (_("Manage category information"),
-                                 _("Manage raster categories labels and values"),
-                                 "self.OnMenuCmd",
-                                 "r.category"),
-                                ("","","", ""),
-                                (_("General statistics"),
-                                 _("General raster map statistics"),
-                                 "self.OnMenuCmd",
-                                 "r.stats"),
-                                (_("Range of category values"),
-                                 _("Range of all raster category values"),
-                                 "self.OnMenuCmd",
-                                 "r.describe"),
-                                (_("Sum category values"),
-                                 _("Sum all raster category values"),
-                                 "self.OnMenuCmd",
-                                 "r.sum"),
-                                (_("Sum area by raster map and category"),
-                                 _("Calculate sum of area by raster map and category"),
-                                 "self.OnMenuCmd",
-                                 "r.report"),
-                                (_("Statistics for clumped cells"),
-                                 _("Summary statistics for clumped raster map (work with r.clump)"),
-                                 "self.OnMenuCmd",
-                                 "r.volume"),
-                                (_("Total corrected area"),
-                                 _("Total surface area corrected for topography"),
-                                 "self.OnMenuCmd",
-                                 "r.surf.area"),
-                                (_("Univariate raster statistics"),
-                                 _("Calculate univariate statistics for raster categories"),
-                                 "self.OnMenuCmd",
-                                 "r.univar"),
-                                ("","","", ""),
-                                (_("Sample transects"),
-                                 _("Sample values along transects"),
-                                 "self.OnMenuCmd",
-                                 "r.profile"),
-                                (_("Sample transects (bearing/distance)"),
-                                 _("Sample values along transects (use azimuth, distance)"),
-                                 "self.OnMenuCmd",
-                                 "r.transect"),
-                                ("","","", ""),
-                                (_("Covariance/correlation"),
-                                 _("Covariance/correlation calculation"),
-                                 "self.OnMenuCmd",
-                                 "r.covar"),
-                                (_("Linear regression"),
-                                 _("Linear regression between 2 raster maps"),
-                                 "self.OnMenuCmd",
-                                 "r.regression.line"),
-                                (_("Mutual category occurrences"),
-                                 _("Mutual category occurrences (coincidence)"),
-                                 "self.OnMenuCmd",
-                                 "r.coin"),
-                                )
-                         ),
-                        )
-                 ),
-                (_("Vector"), (
-                        (_("Develop vector map"), (
-                                (_("Create new vector map"),
-                                 _("Create new empty vector map"),
-                                 "self.OnMenuCmd",
-                                 "v.edit tool=create"),
-                                #                                 (_("Digitize vector map"),
-                                #                                  _("Digitize/edit vector map"),
-                                #                                  "self.OnMenuCmd",
-                                #                                 "v.digit"),
-                                ("","","", ""),
-                                (_("Create/rebuild topology"),
-                                 _("Create or rebuild topology of vector objects"),
-                                 "self.OnMenuCmd",
-                                 "v.build"),
-                                (_("Clean vector map"),
-                                 _("Clean vector objects (topologically incorect)"),
-                                 "self.OnMenuCmd",
-                                 "v.clean"),
-                                (_("Generalization"),
-                                 _("Smooth, simplify, displace, or generalize a vector map"),
-                                 "self.OnMenuCmd",
-                                 "v.generalize"),
-                                ("","","", ""),
-                                (_("Convert object types"),
-                                 _("Convert vector objects from one feature type to another"),
-                                 "self.OnMenuCmd",
-                                 "v.type.sh"),
-                                ("","","", ""),
-                                (_("Add centroids"),
-                                 _("Add centroids to closed boundaries to create areas"),
-                                 "self.OnMenuCmd",
-                                 "v.centroids"),
-                                ("","","", ""),
-                                (_("Build polylines"),
-                                 _("Build polylines from adjacent segments"),
-                                 "self.OnMenuCmd",
-                                 "v.build.polylines"),
-                                (_("Split polylines"),
-                                 _("Split polylines into points and segments"),
-                                 "self.OnMenuCmd",
-                                 "v.segment"),
-                                (_("Parallel lines"),
-                                 _("Create lines parallel to existing lines"),
-                                 "self.OnMenuCmd",
-                                 "v.parallel"),
-                                ("","","", ""),
-                                (_("Dissolve boundaries"),
-                                 _("Dissolve common boundaries of areas"),
-                                 "self.OnMenuCmd",
-                                 "v.dissolve"),
-                                ("","","", ""),
-                                (_("Create 3D vector over raster"),
-                                 _("Create 3D objects by sampling raster map with 2D vector map"),
-                                 "self.OnMenuCmd",
-                                 "v.drape"),
-                                (_("Extrude 3D vector map"),
-                                 _("Extrude 3D objects from 2D vector map"),
-                                 "self.OnMenuCmd",
-                                 "v.extrude"),
-                                ("","","", ""),
-                                (_("Link to OGR"),
-                                 _("Create new vector map as link to external OGR layer"),
-                                 "self.OnMenuCmd",
-                                 "v.external"),
-                                ("","","", ""),
-                                (_("Create labels"),
-                                 _("Create text label file for vector features"),
-                                 "self.OnMenuCmd",
-                                 "v.label"),
-                                ("","","", ""),
-                                (_("Reposition vector map"),
-                                 _("Reposition (shift, rotate, skew) vector map in coordinate space"),
-                                 "self.OnMenuCmd",
-                                 "v.transform"),
-                                (_("Reproject vector map"),
-                                 _("Reproject vector map from other location"),
-                                 "self.OnMenuCmd",
-                                 "v.proj"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Query with attributes"),
-                         _("Query vector objects by attribute values (create new vector map)"),
-                         "self.OnMenuCmd",
-                         "v.extract"),
-                        (_("Query with coordinate(s)"),
-                         _("Query vector objects by coordinate(s)"),
-                         "self.OnMenuCmd",
-                         "v.what"),
-                        (_("Query with another vector map"),
-                         _("Query objects using objects from a second vector map"),
-                         "self.OnMenuCmd",
-                         "v.select"),
-                        ("","","", ""),
-                        (_("Buffer vectors"),
-                         _("Create vector buffers around vector objects"),
-                         "self.OnMenuCmd",
-                         "v.buffer"),
-                        (_("Lidar analysis"), (
-                                (_("Detect edges"),
-                                 _("Detect object edges in Lidar data"),
-                                 "self.OnMenuCmd",
-                                 "v.lidar.edgedetection"),
-                                (_("Detect interiors"),
-                                 _("Detect interiors of objects in Lidar data"),
-                                 "self.OnMenuCmd",
-                                 "v.lidar.growing"),
-                                (_("Correct and reclassify objects"),
-                                 _("Correct and reclassify objects detected in Lidar data"),
-                                 "self.OnMenuCmd",
-                                 "v.lidar.correction"),
-                                )
-                         ),
-                        (_("Linear referencing"), (
-                                (_("Create LRS"),
-                                 _("Create linear reference system"),
-                                 "self.OnMenuCmd",
-                                 "v.lrs.create"),
-                                (_("Create stationing"),
-                                 _("Create stationing from input lines, and linear reference system"),
-                                 "self.OnMenuCmd",
-                                 "v.lrs.label"),
-                                (_("Create points/segments"),
-                                 _("Create points/segments from input lines, linear reference system and positions read from stdin"),
-                                 "self.OnMenuCmd",
-                                 "v.lrs.segment"),
-                                (_("Find line id and offset"),
-                                 _("Find line id and real km+offset for given points in vector map using linear reference system"),
-                                 "self.OnMenuCmd",
-                                 "v.lrs.where"),
-                                )
-                         ),
-                        (_("Nearest features"),
-                         _("Locate nearest feature to points or centroids"),
-                         "self.OnMenuCmd",
-                         "v.distance"),
-                        (_("Network analysis"), (
-                                (_("Allocate subnets"),
-                                 _("Allocate subnets for nearest centers"),
-                                 "self.OnMenuCmd",
-                                 "v.net.alloc"),
-                                (_("Network maintenance"),
-                                 _("Network maintenance support"),
-                                 "self.OnMenuCmd",
-                                 "v.net"),
-                                (_("Visibility network"),
-                                 _("Create and maintain a visibility network"),
-                                 "self.OnMenuCmd",
-                                 "v.net.visibility"),
-                                (_("Shortest path"),
-                                 _("Calculate shortest route along network between 2 nodes"),
-                                 "self.OnMenuCmd",
-                                 "v.net.path"),
-                                (_("Display shortest route (requires XTerm)"),
-                                 _("Display shortest route along network between 2 nodes (visualization only, requires XTerm))"),
-                                 "self.OnXTerm",
-                                 "d.path"),
-                                (_("Split net"),
-                                 _("Split net into bands between cost isolines"),
-                                 "self.OnMenuCmd",
-                                 "v.net.iso"),
-                                (_("Steiner tree"),
-                                 _("Create Steiner tree for network and given terminals"),
-                                 "self.OnMenuCmd",
-                                 "v.net.steiner"),
-                                (_("Traveling salesman analysis"),
-                                 _("Calculate shortest route connecting given set of nodes (Traveling salesman analysis)"),
-                                 "self.OnMenuCmd",
-                                 "v.net.salesman"),
-                                )
-                         ),
-                        (_("Overlay vector maps"), (
-                                (_("Overlay vector maps"),
-                                 _("Boolean overlay of 2 vector maps"),
-                                 "self.OnMenuCmd",
-                                 "v.overlay"),
-                                (_("Patch vector maps"),
-                                 _("Patch/combine multiple maps (boolean OR)"),
-                                 "self.OnMenuCmd",
-                                 "v.patch"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Change attributes"), (
-                                (_("Manage or report categories"),
-                                 _("Attach/delete, or report vector categories"),
-                                 "self.OnMenuCmd",
-                                 "v.category"),
-                                (_("Reclassify objects interactively"),
-                                 _("Reclassify vector objects interactively by entering SQL rules"),
-                                 "self.RulesCmd",
-                                 "v.reclass"),
-                                (_("Reclassify objects using rules file"),
-                                 _("Reclassify vector objects by inputting SQL rules from a text file"),
-                                 "self.OnMenuCmd",
-                                 "v.reclass"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Generate area for current region"),
-                         _("Generate area object for extent of current region"),
-                         "self.OnMenuCmd",
-                         "v.in.region"),
-                        (_("Generate areas from points"), (
-                                (_("Convex hull"),
-                                 _("Generate convex hull for point set"),
-                                 "self.OnMenuCmd",
-                                 "v.hull"),
-                                (_("Delaunay triangles"),
-                                 _("Generate Delaunay triangles for point set"),
-                                 "self.OnMenuCmd",
-                                 "v.delaunay"),
-                                (_("Voronoi diagram/Thiessen polygons"),
-                                 _("Generate Voronoi diagram/Thiessen polygons for point set"),
-                                 "self.OnMenuCmd",
-                                 "v.voronoi"),
-                                )
-                         ),
-                        (_("Generate grid"),
-                         _("Generate rectangular vector grid"),
-                         "self.OnMenuCmd",
-                         "v.mkgrid"),
-                        (_("Generate points"), (
-                                (_("Generate from database"),
-                                 _("Generate vector points from database with x/y coordinates"),
-                                 "self.OnMenuCmd",
-                                 "v.in.db"),
-                                (_("Generate points along lines"),
-                                 _("Generate vector points along vector lines/boundaries"),
-                                 "self.OnMenuCmd",
-                                 "v.to.points"),
-                                (_("Generate random points"),
-                                 _("Generate random vector points"),
-                                 "self.OnMenuCmd",
-                                 "v.random"),
-                                (_("Perturb points"),
-                                 _("Random perturbations of point locations"),
-                                 "self.OnMenuCmd",
-                                 "v.perturb"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Remove outliers in point sets"),
-                         _("Remove outliers from vector point set"),
-                         "self.OnMenuCmd",
-                         "v.outlier"),
-                        (_("Test/training point sets"),
-                         _("Partition points into test/training sets for k-fold cross validation"),
-                         "self.OnMenuCmd",
-                         "v.kcv"),
-                        ("","","", ""),
-                        (_("Update area attributes from raster"),
-                         _("Update area attribute data from univariate statistics on raster map"),
-                         "self.OnMenuCmd",
-                         "v.rast.stats"),
-                        (_("Update point attributes from areas"),
-                         _("Update point attribute data from vector area map"),
-                         "self.OnMenuCmd",
-                         "v.what.vect"),
-                        (_("Update point attributes from raster"), (
-                                (_("Sample raster maps at point locations"),
-                                 _("Update attribute based on sample raster maps at point locations"),
-                                 "self.OnMenuCmd",
-                                 "v.what.rast"),
-                                (_("Sample raster neighborhood around points"),
-                                 _("Update attributes based on sample raster neighborhood around points"),
-                                 "self.OnMenuCmd",
-                                 "v.sample"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Reports and statistics"), (
-                                (_("Basic vector metadata"),
-                                 _("Rebort basic vector map metadata"),
-                                 "self.OnMenuCmd",
-                                 "v.info"),
-                                ("","","", ""),
-                                (_("Report topology by category"),
-                                 _("Report areas for vector attribute categories"),
-                                 "self.OnMenuCmd",
-                                 "v.report"),
-                                (_("Upload or report topology"),
-                                 _("Update database fields or create reports from vector topology"),
-                                 "self.OnMenuCmd",
-                                 "v.to.db"),
-                                ("","","", ""),
-                                (_("Univariate attribute statistics"),
-                                 _("Calculate univariate statistics for vector attributes"),
-                                 "self.OnMenuCmd",
-                                 "v.univar"),
-                                ("","","", ""),
-                                (_("Quadrat indices"),
-                                 _("Indices of point counts in quadrats"),
-                                 "self.OnMenuCmd",
-                                 "v.qcount"),
-                                (_("Test normality"),
-                                 _("Test normality of point distribution"),
-                                 "self.OnMenuCmd",
-                                 "v.normal"),
-                                )
-                         ),
-                        )
-                 ),
-                (_("Imagery"), (
-                        (_("Develop images and groups"), (
-                                (_("Create/edit group"),
-                                 _("Create/edit imagery group"),
-                                 "self.OnMenuCmd",
-                                 "i.group"),
-                                (_("Target group"),
-                                 _("Define target imagery group"),
-                                 "self.OnMenuCmd",
-                                 "i.target"),
-                                ("","","", ""),
-                                (_("Mosaic images"),
-                                 _("Mosaic up to 4 adjacent images"),
-                                 "self.OnMenuCmd",
-                                 "i.image.mosaic"),
-                                )
-                         ),
-                        (_("Manage image colors"), (
-                                (_("Color balance for RGB"),
-                                 _("Color balance and enhance color tables of multiband imagery for RGB display"),
-                                 "self.OnMenuCmd",
-                                 "i.landsat.rgb"),
-                                (_("HIS to RGB"),
-                                 _("Transform HIS (Hue/Intensity/Saturation) color image to RGB (Red/Green/Blue)"),
-                                 "self.OnMenuCmd",
-                                 "i.his.rgb"),
-                                (_("RGB to HIS"),
-                                 _("Transform RGB (Red/Green/Blue) color image to HIS (Hue/Intensity/Saturation)"),
-                                 "self.OnMenuCmd",
-                                 "i.rgb.his"),
-                                )
-                         ),
-                        (_("Rectify image or raster"),
-                         _("Rectifies raster map using information in previously created POINTS file"),
-                         "self.OnMenuCmd",
-                         "i.rectify"),
-                        (_("Ortho photo rectification (requires Xterm)"),
-                         _("Ortho Photo rectification"),
-                         "self.OnXTerm",
-                         "i.ortho.photo"),
-                        ("","","", ""),
-                        (_("Brovey sharpening"),
-                         _("Brovey transformation and pan sharpening"),
-                         "self.OnMenuCmd",
-                         "i.fusion.brovey"),
-                        (_("Classify image"), (
-                                (_("Clustering input for unsupervised classification"),
-                                 _("Clustering input for unsupervised classification analysis"),
-                                 "self.OnMenuCmd",
-                                 "i.cluster"),
-                                ("","","", ""),
-                                (_("Maximum likelihood classification (MLC)"),
-                                 _("Maximum Likelihood Classification analysis"),
-                                 "self.OnMenuCmd",
-                                 "i.maxlik"),
-                                (_("Sequential maximum a posteriori classification (SMAP)"),
-                                 _("Sequential Maximum A Posteriori Classification (SMAP) analysis"),
-                                 "self.OnMenuCmd",
-                                 "i.smap"),
-                                ("","","", ""),
-                                (_("Interactive input for supervised classification (requires Xterm)"),
-                                 _("Interactive input for supervised classification"),
-                                 "self.OnXTerm",
-                                 "i.class"),
-                                (_("Input for supervised MLC"),
-                                 _("Non-interactive input for supervised classification (MLC)"),
-                                 "self.OnMenuCmd",
-                                 "i.gensig"),
-                                (_("Input for supervised SMAP"),
-                                 _("Non-interactive input for supervised classification (SMAP)"),
-                                 "self.OnMenuCmd",
-                                 "i.gensigset"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("RS Pre-Processing (DN->Rad->Ref)"), (
-                         (_("MODIS QC extractor"),
-                          _("MODIS Quality Assessment extractor"), 
-                          "self.RunMenuCmd",
-                          "i.modis.qc"),
-                         (_("MODIS State QA extractor"),
-                          _("MODIS State Quality Assessment extractor"), 
-                          "self.RunMenuCmd",
-                          "i.modis.stateqa"),
-                         ("","","", ""),
-                         (_("All types of Landsat"),
-                          _("Landsat TOA Reflectance tool"), 
-                          "self.RunMenuCmd",
-                          "i.landsat.toar"),
-                         (_("Landsat 7 ETM+"),
-                          _("Landsat 7 ETM+"), 
-                          "self.RunMenuCmd",
-                          "i.dn2ref.l7"),
-                         (_("Landsat 7 ETM+ (from .met)"),
-                          _("Landsat 7 ETM+ (from .met)"),
-                          "self.RunMenuCmd",
-                          "i.dn2full.l7"),
-                         (_("Landsat 5 TM (from NLAPS.txt)"),
-                          _("Landsat 5 TM (from NLAPS.txt)"),
-                          "self.RunMenuCmd",
-                          "i.dn2full.l5"),
-                         (_("Terra-Aster"),
-                          _("Terra-Aster"), 
-                          "self.RunMenuCmd",
-                          "i.dn2ref.ast"),
-                         ("","","", ""),
-                         (_("Atmospheric correction"),
-                          _("Atmospheric correction"),
-                          "self.RunMenuCmd",
-                          "i.atcorr"),
-                         (_("Dehaze Landsat"),
-                          _("Dehaze Landsat"),
-                          "self.RunMenuCmd",
-                          "i.landsat.dehaze"),
-                         )
-                        ),
-                        (_("RS Processing (Basic)"), (
-                         (_("Vegetation Index (Tasseled cap)"),
-                          _("Vegetation index (Tasseled cap)"),
-                          "self.OnMenuCmd",
-                          "i.tasscap"),
-                         (_("Vegetation Indices (13 types)"),
-                          _("Vegetation Indices (13 types)"), 
-                          "self.RunMenuCmd",
-                          "i.vi"),
-                         (_("Vegetation Indices (13 types) cluster"),
-                          _("Vegetation Indices (13 types) cluster"),
-                          "self.RunMenuCmd",
-                          "i.vi.mpi"),
-                         (_("Water Indices"),
-                          _("Water Indices"), 
-                          "self.RunMenuCmd",
-                          "i.wi"),
-                         ("","","", ""),
-                         (_("Albedo"),
-                          _("Albedo"),
-                          "self.RunMenuCmd",
-                          "i.albedo"),
-                         (_("Water"),
-                          _("Water detection"),
-                          "self.RunMenuCmd",
-                          "i.water"),
-                         (_("Emissivity (generic from NDVI)"),
-                          _("Emissivity (generic from NDVI)"),
-                          "self.RunMenuCmd",
-                          "i.emissivity"),
-                         ("","","", ""),
-                         (_("Lat/long maps"),
-                          _("Lat/long maps"),
-                          "self.RunMenuCmd",
-                          "i.latlong"),
-                         (_("Sunshine hours (potential)"),
-                          _("Sunshine hours (potential)"),
-                          "self.RunMenuCmd",
-                          "i.sunhours"), 
-                         (_("Satellite overpass time"),
-                          _("Satellite overpass time"),
-                          "self.RunMenuCmd",
-                          "i.sattime"),
-                         ("","","", ""),
-                         (_("LMF temporal splinning"),
-                          _("LMF temporal splinning"),
-                          "self.RunMenuCmd",
-                          "i.lmf"),
-                         )
-                        ),
-                        (_("RS Processing (Advanced)"), (
-                         (_("ETo, ETP, ETa"), (
-                          (_("Reference ET (Hargreaves)"),
-                           _("Reference ET (Hargreaves)"),
-                           "self.RunMenuCmd",
-                           "r.evapo.MH"),
-                          ("","","", ""),
-                          (_("Potential ET (Penman-Monteith)"),
-                           _("Potential ET (Penman-Monteith)"),
-                           "self.OnMenuCmd",
-                           "r.evapo.PM"),
-                          (_("Potential ET (Prestley and Taylor)"),
-                           _("Potential ET (Prestley and Taylor)"),
-                           "self.RunMenuCmd",
-                           "i.evapo.PT"),
-                          (_("Potential ET (Radiative)"),
-                           _("Potential ET (Radiative)"),
-                           "self.RunMenuCmd",
-                           "i.evapo.potrad"),
-                          (_("Potential ET (Radiative) from L5DN (NLAPS.txt)"),
-                           _("Potential ET (Radiative) from L5DN (NLAPS.txt)"),
-                           "self.RunMenuCmd",
-                           "i.dn2potrad.l5"),
-                          (_("Potential ET (Radiative) from L7DN (.met)"),
-                           _("Potential ET (Radiative) from L7DN (.met)"),
-                           "self.RunMenuCmd",
-                           "i.dn2potrad.l7"),
-                          ("","","", ""),
-                          (_("Actual ET (SEBAL)"),
-                           _("Actual ET (SEBAL)"),
-                           "self.RunMenuCmd",
-                           "i.eb.eta"),
-                          (_("Actual ET (Senay)"),
-                           _("Actual ET (Senay)"),
-                           "self.RunMenuCmd",
-                           "i.evapo.senay"),
-                          (_("Actual ET (TSA)"),
-                           _("Actual ET (TSA) NOT WORKING YET"),
-                           "self.RunMenuCmd",
-                           "i.evapo.TSA"),
-                          ("","","", ""),
-                          (_("Actual ET Time Integration"),
-                           _("Temporal Integration of Actual ET using daily ETo"),
-                           "self.RunMenuCmd",
-                           "i.evapo.time_integration"),
-                          )
-                         ),
-                         (_("Energy Balance"), (
-                          (_("Surface roughness (generic)"),
-                           _("surface roughness"),
-                           "self.RunMenuCmd",
-                           "i.eb.z0m0"),
-                          (_("Surface roughness (savi/Pawan04)"),
-                           _("surface roughness (savi/Pawan04)"),
-                           "self.RunMenuCmd",
-                           "i.eb.z0m"),
-                          (_("Delta T"),
-                           _("delta T"),
-                           "self.RunMenuCmd",
-                           "i.eb.deltat"), 
-                          (_("Net radiation"),
-                           _("net radiation"),
-                           "self.RunMenuCmd",
-                           "i.eb.netrad"),
-                          ("","","", ""),
-                          (_("Displacement height"),
-                           _("Displacement height"),
-                           "self.RunMenuCmd",
-                           "i.eb.disp"),
-                          (_("Atmospheric Air Density"),
-                           _("Atmospheric Air Density"),
-                           "self.RunMenuCmd",
-                           "i.eb.rohair"),
-                          ("","","", ""),
-                          (_("Monin-Obukov Length"),
-                           _("Monin-Obukov Length"),
-                           "self.RunMenuCmd",
-                           "i.eb.molength"),
-                          (_("Psichrometric param. for heat"),
-                           _("psichrometric param. for heat"),
-                           "self.RunMenuCmd",
-                           "i.eb.psi"),
-                          (_("Blending height wind speed"),
-                           _("blending height wind speed"),
-                           "self.RunMenuCmd",
-                           "i.eb.ublend"),
-                          (_("Nominal wind speed"),
-                           _("nominal wind speed"),
-                           "self.RunMenuCmd",
-                           "i.eb.ustar"),
-                          (_("Aerod. resis. to heat transp."),
-                           _("aerod. resis. to heat transp."),
-                           "self.RunMenuCmd",
-                           "i.eb.rah"),
-                          ("","","", ""),
-                          (_("Soil heat flux"),
-                           _("soil heat flux"),
-                           "self.RunMenuCmd",
-                           "i.eb.g0"),
-                          (_("Sensible heat flux"),
-                           _("sensible heat flux"),
-                           "self.RunMenuCmd",
-                           "i.eb.h0"),
-                          (_("Sensible heat flux iteration (fixed delta T)"),
-                           _("sensible heat flux iteration (fixed delta T)"),
-                           "self.RunMenuCmd",
-                           "i.eb.h_iter"),
-                          (_("Sensible heat flux iteration (SEBAL95)"),
-                           _("sensible heat flux iteration (SEBAL95)"),
-                           "self.RunMenuCmd",
-                           "i.eb.h_SEBAL95"),
-                          (_("Sensible heat flux iteration (SEBAL01)"),
-                           _("sensible heat flux iteration (SEBAL01)"),
-                           "self.RunMenuCmd",
-                           "i.eb.h_SEBAL01"),
-                          ("","","", ""),
-                          (_("Evaporative fraction"),
-                           _("evaporative fraction"),
-                           "self.RunMenuCmd",
-                           "i.eb.evapfr"),
-                          )
-                         ),
-                         ("","","", ""),
-                         (_("Biomass growth"),
-                          _("Biomass growth"),
-                          "self.RunMenuCmd",
-                          "i.biomass"),
-                         )
-                        ),
-                        ("","","", ""),
-                        (_("Filter image"), (
-                                (_("Edge detection"),
-                                 _("Zero edge crossing detection"),
-                                 "self.OnMenuCmd",
-                                 "i.zc"),
-                                (_("Matrix/convolving filter"),
-                                 _("User defined matrix/convolving filter"),
-                                 "self.OnMenuCmd",
-                                 "r.mfilter"),
-                                )
-                         ),
-                        (_("Histogram"),
-                         _("Generate histogram of image"),
-                         "self.DispHistogram",
-                         ""),
-                        (_("Spectral response"),
-                         _("Calculate spectral response"),
-                         "self.OnMenuCmd",
-                         "i.spectral"),
-                        (_("Tasseled cap vegetation index"),
-                         _("Tasseled cap vegetation index analysis"),
-                         "self.OnMenuCmd",
-                         "i.tasscap"),
-                        (_("Transform image"), (
-                                (_("Canonical correlation"),
-                                 _("Canonical correlation (discriminant analysis)"),
-                                 "self.OnMenuCmd",
-                                 "i.cca"),
-                                (_("Principal components"),
-                                 _("Principal components analysis"),
-                                 "self.OnMenuCmd",
-                                 "i.pca"),
-                                (_("Fast Fourier"),
-                                 _("Fast Fourier Transform"),
-                                 "self.OnMenuCmd",
-                                 "i.fft"),
-                                (_("Inverse Fast Fourier"),
-                                 _("Inverse Fast Fourier Transform"),
-                                 "self.OnMenuCmd",
-                                 "i.ifft"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Report and statistics"), (
-                                (_("Bit pattern comparison "),
-                                 _("Bit pattern comparison for ID of low quality pixels"),
-                                 "self.OnMenuCmd",
-                                 "r.bitpattern"),
-                                (_("Kappa analysis"),
-                                 _("Kappa classification accuracy assessment"),
-                                 "self.OnMenuCmd",
-                                 "r.kappa"),
-                                (_("OIF for LandSat TM"),
-                                 _("Optimum index factor for LandSat TM"),
-                                 "self.OnMenuCmd",
-                                 "i.oif"),
-                                )
-                         ),
-                        )
-                 ),
-                (_("Volumes"), (
-                        (_("Develop volumes"), (
-                                (_("Manage 3D NULL values"),
-                                 _("Manage NULL values for volume"),
-                                 "self.OnMenuCmd",
-                                 "r3.null"),
-                                (_("Manage timestamp"),
-                                 _("Manage timestamp for volume"),
-                                 "self.OnMenuCmd",
-                                 "r3.timestamp"),
-                                )),
-                        ("","","", ""),
-                        (_("3D Mask"),
-                         _("Create 3D mask for 3D raster operations"),
-                         "self.OnMenuCmd",
-                         "r3.mask"),
-                        (_("3D raster map calculator"),
-                         _("Map calculator for volumetric map algebra"),
-                         "self.Disp3DMapCalculator",
-                         ""),
-                        (_("Cross section"),
-                         _("Create 2D raster cross section from volume"),
-                         "self.OnMenuCmd",
-                         "r3.cross.rast"),
-                        (_("Interpolate volume from points"),
-                         _("Interpolate volume from vector points using splines"),
-                         "self.OnMenuCmd",
-                         "v.vol.rst"),
-                        ("","","", ""),
-                        (_("Report and Statistics"), (
-                                (_("Basic volume metadata"),
-                                 _("Report basic volume metadata"),
-                                 "self.OnMenuCmd",
-                                 "r3.info"),
-                                )
-                         ),
-                        )
-                 ),
-                (_("Database"), (
-                        (_("Database information"), (
-                                (_("Describe table"),
-                                 _("Describe table structure and attributes"),
-                                 "self.OnMenuCmd",
-                                 "db.describe"),
-                                (_("List columns"),
-                                 _("List columns for selected table"),
-                                 "self.OnMenuCmd",
-                                 "db.columns"),
-                                (_("List drivers"),
-                                 _("List available database drivers"),
-                                 "self.OnMenuCmd",
-                                 "db.drivers"),
-                                (_("List tables"),
-                                 _("List tables in selected database"),
-                                 "self.OnMenuCmd",
-                                 "db.tables"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Manage databases"), (
-                                (_("Connect"),
-                                 _("Connect to database"),
-                                 "self.OnMenuCmd",
-                                 "db.connect"),
-                                (_("Login"),
-                                 _("Login to database"),
-                                 "self.OnMenuCmd",
-                                 "db.login"),
-                                ("","","", ""),
-                                (_("Copy table"),
-                                 _("Copy attribute table"),
-                                 "self.OnMenuCmd",
-                                 "db.copy"),
-                                (_("New table"),
-                                 _("Create and connect new attribute table to vector map"),
-                                 "self.OnMenuCmd",
-                                 "v.db.addtable"),
-                                (_("Remove table"),
-                                 _("Remove existing attribute table for vector map"),
-                                 "self.OnMenuCmd",
-                                 "db.login"),
-                                ("","","", ""),
-                                (_("Add columns"),
-                                 _("Add columns to table"),
-                                 "self.OnMenuCmd",
-                                 "v.db.addcol"),
-                                (_("Change values"),
-                                 _("Change values in a column"),
-                                 "self.OnMenuCmd",
-                                 "v.db.update"),
-                                (_("Rename column"),
-                                 _("Rename a column"),
-                                 "self.OnMenuCmd",
-                                 "v.db.renamecol"),
-                                ("","","", ""),
-                                (_("Test"),
-                                 _("Test database"),
-                                 "self.OnMenuCmd",
-                                 "db.test"),
-                                )
-                         ),
-                        (_("Query"), (
-                                (_("Query any table"),
-                                 _("Query data in any table"),
-                                 "self.OnMenuCmd",
-                                 "db.select"),
-                                (_("Query vector attribute data"),
-                                 _("Query vector attribute data"),
-                                 "self.OnMenuCmd",
-                                 "v.db.select"),
-                                (_("SQL statement"),
-                                 _("Execute SQL statement"),
-                                 "self.OnMenuCmd",
-                                 "db.execute"),
-                                )
-                         ),
-                        ("","","", ""),
-                        (_("Vector database connections"), (
-                                (_("Reconnect vector to database"), 
-                                 _("Reconnect vector map to attribute database"),
-                                 "self.OnMenuCmd",
-                                 "v.db.reconnect.all"),
-                                (_("Set vector map - database connection"),
-                                 _("Set database connection for vector attributes"),
-                                 "self.OnMenuCmd",
-                                 "v.db.connect"),
-                                )
-                         ),
-                        )
-                 ),
-                (_("Help"), (
-                        (_("GRASS GIS help"),
-                         _("GRASS GIS Reference Manual"),
-                         "self.RunMenuCmd",
-                         "g.manual -i"),
-                        (_("GRASS GIS GUI help"),
-                         _("GUI-related Reference Manual"),
-                         "self.RunMenuCmd",
-                         "g.manual wxGUI"),
-                        (_("About GRASS GIS"),
-                         _("About GRASS GIS"),
-                         "self.OnAboutGRASS",
-                         ""),
-                        )
-                 )
-                )
-                ]



More information about the grass-commit mailing list