[GRASS-SVN] r47391 - in grass/trunk/scripts: v.db.addtable
v.db.droptable v.db.renamecolumn
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 3 13:45:41 EDT 2011
Author: neteler
Date: 2011-08-03 10:45:41 -0700 (Wed, 03 Aug 2011)
New Revision: 47391
Modified:
grass/trunk/scripts/v.db.addtable/v.db.addtable.py
grass/trunk/scripts/v.db.droptable/v.db.droptable.py
grass/trunk/scripts/v.db.renamecolumn/v.db.renamecolumn.py
Log:
added support for layer selection and column name in wxGUI
Modified: grass/trunk/scripts/v.db.addtable/v.db.addtable.py
===================================================================
--- grass/trunk/scripts/v.db.addtable/v.db.addtable.py 2011-08-03 17:11:44 UTC (rev 47390)
+++ grass/trunk/scripts/v.db.addtable/v.db.addtable.py 2011-08-03 17:45:41 UTC (rev 47391)
@@ -36,7 +36,7 @@
#%end
#%option
#% key: layer
-#% type: integer
+#% gisprompt: old_layer,layer,layer
#% description: Layer where to add new attribute table
#% answer: 1
#% required : no
Modified: grass/trunk/scripts/v.db.droptable/v.db.droptable.py
===================================================================
--- grass/trunk/scripts/v.db.droptable/v.db.droptable.py 2011-08-03 17:11:44 UTC (rev 47390)
+++ grass/trunk/scripts/v.db.droptable/v.db.droptable.py 2011-08-03 17:45:41 UTC (rev 47391)
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-#
+
############################################################################
#
# MODULE: v.db.droptable
@@ -40,7 +40,7 @@
#%end
#%option
#% key: layer
-#% type: integer
+#% gisprompt: old_layer,layer,layer
#% description: Layer from which to drop linked attribute table
#% answer: 1
#% required : no
Modified: grass/trunk/scripts/v.db.renamecolumn/v.db.renamecolumn.py
===================================================================
--- grass/trunk/scripts/v.db.renamecolumn/v.db.renamecolumn.py 2011-08-03 17:11:44 UTC (rev 47390)
+++ grass/trunk/scripts/v.db.renamecolumn/v.db.renamecolumn.py 2011-08-03 17:45:41 UTC (rev 47391)
@@ -36,7 +36,7 @@
#%end
#%option
#% key: layer
-#% type: integer
+#% gisprompt: old_layer,layer,layer
#% description: Layer where to rename column
#% answer: 1
#% required : no
More information about the grass-commit
mailing list