[GRASS-SVN] r34393 - in grass/branches/develbranch_6/gui: tcltk/d.m tcltk/gis.m wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 19 07:10:56 EST 2008


Author: hamish
Date: 2008-11-19 07:10:56 -0500 (Wed, 19 Nov 2008)
New Revision: 34393

Modified:
   grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl
   grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py
Log:
add some new modules

Modified: grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl	2008-11-19 12:08:10 UTC (rev 34392)
+++ grass/branches/develbranch_6/gui/tcltk/d.m/menu.tcl	2008-11-19 12:10:56 UTC (rev 34393)
@@ -100,7 +100,7 @@
 			{command {[G_msg "DXF file"]} {} "v.in.dxf" {} -command { execute v.in.dxf }}
 			{command {[G_msg "ESRI e00 format"]} {} "v.in.e00" {} -command { execute v.in.e00 }}
 			{command {[G_msg "Garmin GPS Waypoints/Routes/Tracks"]} {} "v.in.garmin" {} -command { execute v.in.garmin }}
-			{command {[G_msg "GPS Waypoints/Routes/Tracks using GPSBabel"]} {} "v.in.gpsbabel" {} -command { execute v.in.gpsbabel }}
+			{command {[G_msg "GPS Waypoints/Routes/Tracks  from many formats using GPSBabel"]} {} "v.in.gpsbabel" {} -command { execute v.in.gpsbabel }}
 			{command {[G_msg "GEOnet Name server country files (US-NGA GNS)"]} {} "v.in.gns" {} -command { execute v.in.gns }}
 			{command {[G_msg "Matlab and MapGen files"]} {} "v.in.mapgen" {} -command { execute v.in.mapgen }}
 		}}
@@ -136,7 +136,9 @@
 			{separator}
 			{command {[G_msg "DXF file (ASCII)"]} {} "v.out.dxf" {} -command { execute v.out.dxf }}
 			{command {[G_msg "ASCII vector or point file/old GRASS ASCII vector file"]} {} "v.out.ascii" {} -command { execute v.out.ascii }}
+			{command {[G_msg "Multiple GPS formats using GPSBabel"]} {} "v.out.gpsbabel" {} -command { execute v.out.gpsbabel }}
 			{command {[G_msg "POV-Ray format"]} {} "v.out.pov" {} -command { execute v.out.pov }}
+			{command {[G_msg "SVG"]} {} "v.out.svg" {} -command { execute v.out.svg }}
 			{command {[G_msg "VTK ASCII file"]} {} "v.out.vtk" {} -command { execute v.out.vtk }}
 		}}
 		{cascad {[G_msg "Grid 3D"]} {} "" $tmenu {
@@ -277,6 +279,7 @@
 		{command {[G_msg "Terrain parameters"]} {} "r.param.scale" {} -command {execute r.param.scale }}
 		{command {[G_msg "Textural features"]} {} "r.texture" {} -command {execute r.texture }}
 		{command {[G_msg "Visibility/line of sight"]} {} "r.los" {} -command {execute r.los }}
+		{command {[G_msg "Distance to features"]} {} "r.grow.distance" {} -command {execute r.grow.distance }}
 	}}
 	{cascad {[G_msg "Transform features"]} {} "" $tmenu {			
 		{command {[G_msg "Clump small areas (statistics calculated by r.volume)"]} {} "r.clump" {} -command {execute r.clump }}

Modified: grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl
===================================================================
--- grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl	2008-11-19 12:08:10 UTC (rev 34392)
+++ grass/branches/develbranch_6/gui/tcltk/gis.m/gmmenu.tcl	2008-11-19 12:10:56 UTC (rev 34393)
@@ -116,7 +116,7 @@
 		{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 "GPSBabel GPS"]} {} "v.in.gpsbabel: Import GPS waypoints/routes/tracks from many formats 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 }}
 	}}
@@ -151,6 +151,7 @@
 		{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 "Multiple GPS formats using GPSBabel"]} {} "v.out.gpsbabel: Export GPS waypoints/routes/tracks using GPSBabel" {} -command { execute v.out.gpsbabel }}
 		{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 }}
@@ -287,6 +288,8 @@
 		{command {[G_msg "Textural features"]} {} "r.texture: Textural features" {} -command {execute r.texture }}
 		{separator}
 		{command {[G_msg "Visibility"]} {} "r.los: Visibility/line of sight" {} -command {execute r.los }}
+		{command {[G_msg "Distance to features"]} {} "r.grow.distance: Distance to features" {} -command {execute r.grow.distance }}
+
 	}}
 	{cascad {[G_msg "Transform features"]} {} "" $tmenu {			
 		{command {[G_msg "Clump"]} {} "r.clump: Clump small areas (statistics calculated by r.volume)" {} -command {execute r.clump }}

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py	2008-11-19 12:08:10 UTC (rev 34392)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menudata.py	2008-11-19 12:10:56 UTC (rev 34393)
@@ -317,6 +317,11 @@
                                  "self.OnMenuCmd",
                                  "v.out.dxf"),
 
+				(_("Multiple GPS export formats using GPSBabel"),
+				 _("Exports a vector map to a GPS receiver or file format supported by GPSBabel."),
+				 "self.OnMenuCmd",
+				 "v.out.gpsbabel"),
+
                                 (_("POV-Ray export"),
                                  _("Converts to POV-Ray format, GRASS x,y,z -> POV-Ray x,z,y"),
                                  "self.OnMenuCmd",
@@ -768,6 +773,11 @@
                                  "self.OnMenuCmd",
                                  "r.los"),
                                 )
+
+                                (_("Distance to features"),
+                                 _("Generates a raster map layer of distance to features in input layer."),
+                                 "self.OnMenuCmd",
+                                 "r.grow.distance"),
                          ),
                         (_("Transform features"), (
 



More information about the grass-commit mailing list