[GRASS-SVN] r42061 - grass-addons/gui/wxpython/data_catalog
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Apr 29 16:23:22 EDT 2010
Author: epifanio
Date: 2010-04-29 16:23:20 -0400 (Thu, 29 Apr 2010)
New Revision: 42061
Modified:
grass-addons/gui/wxpython/data_catalog/LayerTree.py
Log:
added remove data from ossimplanet, and options to set color for vetro files
Modified: grass-addons/gui/wxpython/data_catalog/LayerTree.py
===================================================================
--- grass-addons/gui/wxpython/data_catalog/LayerTree.py 2010-04-29 19:11:59 UTC (rev 42060)
+++ grass-addons/gui/wxpython/data_catalog/LayerTree.py 2010-04-29 20:23:20 UTC (rev 42061)
@@ -361,7 +361,8 @@
mnuRename = self.popupmenu.Append(self.ID_REN,'&Rename\tCtrl-R')
mnuDel = self.popupmenu.Append(self.ID_DEL,'&Delete\tDEL')
#self.popupmenu.AppendSeperator()
- mnuOssim = self.popupmenu.Append(self.ID_OSSIM,'&send to OssimPlanet')
+ mnuOssim = self.popupmenu.Append(self.ID_OSSIM,'&Send to OssimPlanet')
+ mnuOssim = self.popupmenu.Append(self.ID_OSSIM2,'&Remove from OssimPlanet')
#self.popupmenu.AppendSeperator()
mnuInfo = self.popupmenu.Append(self.ID_INFO,'&Info')
@@ -488,7 +489,8 @@
if self.GetItemText(parent) == "Raster Map" :
cmdflag = 'r.planet.py -a map=' + str(self.GetItemText(item))
elif self.GetItemText(parent) == "Vector Map" :
- cmdflag = 'v.planet.py -a map=' + str(self.GetItemText(item))
+ cmdflag = 'v.planet.py -a map=' + str(self.GetItemText(item)) + ' brush=' + str('155,155,155') + ' pen=' + str('155,155,155') + ' size=' +str('1,1')
+ print cmdflag
if cmdflag:
More information about the grass-commit
mailing list