[GRASS-SVN] r61610 - in grass-addons/grass7/gui/wxpython/wx.metadata: r.info.iso v.info.iso
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Aug 13 14:55:25 PDT 2014
Author: martinl
Date: 2014-08-13 14:55:25 -0700 (Wed, 13 Aug 2014)
New Revision: 61610
Modified:
grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
Log:
r|v.info.iso: add missing module tag
no need to define tags for standardized option
replace -o by --o (is produced automaticaly when G_OPT_F_OUTPUT is defined)
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py 2014-08-13 21:36:14 UTC (rev 61609)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py 2014-08-13 21:55:25 UTC (rev 61610)
@@ -10,15 +10,13 @@
@author Matej Krejci <matejkrejci gmail.com> (GSoC 2014)
"""
-#%option G_OPT_R_MAP
-#% key: map
-#% label: Name of input raster map
-#% required: yes
+
+#%module
+#% description: Creates metadata based on ISO standard for specified raster map.
+#% keywords: raster, metadata, iso
#%end
-#%flag
-#% key: o
-#% label: Allow to overwrite exist metadata
+#%option G_OPT_R_MAP
#%end
#%option
@@ -29,7 +27,7 @@
#% answer: basic
#%end
-#%option G_OPT_R_MAP
+#%option G_OPT_F_OUTPUT
#% key: mdout
#% label: Name of output metadata file
#% required: no
Modified: grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py
===================================================================
--- grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py 2014-08-13 21:36:14 UTC (rev 61609)
+++ grass-addons/grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py 2014-08-13 21:55:25 UTC (rev 61610)
@@ -10,15 +10,13 @@
@author Matej Krejci <matejkrejci gmail.com> (GSoC 2014)
"""
-#%option G_OPT_V_MAP
-#% key: map
-#% label: Name of input vector map
-#% required: yes
+
+#%module
+#% description: Creates metadata based on ISO standard for specified raster map.
+#% keywords: raster, metadata, iso
#%end
-#%flag
-#% key: o
-#% label: Allow to overwrite exist metadata
+#%option G_OPT_V_MAP
#%end
#%option
@@ -29,9 +27,9 @@
#% answer: basic
#%end
-#%option G_OPT_V_MAP
+#%option G_OPT_F_OUTPUT
#% key: mdout
-#% label: Name of output metadata file
+#% label: Name for output metadata file
#% required: no
#%end
More information about the grass-commit
mailing list