[GRASS-SVN] r44467 - grass/trunk/scripts/v.rast.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 28 14:28:25 EST 2010


Author: martinl
Date: 2010-11-28 11:28:25 -0800 (Sun, 28 Nov 2010)
New Revision: 44467

Modified:
   grass/trunk/scripts/v.rast.stats/v.rast.stats.py
Log:
v.rast.stats: description cosmetics


Modified: grass/trunk/scripts/v.rast.stats/v.rast.stats.py
===================================================================
--- grass/trunk/scripts/v.rast.stats/v.rast.stats.py	2010-11-28 17:55:27 UTC (rev 44466)
+++ grass/trunk/scripts/v.rast.stats/v.rast.stats.py	2010-11-28 19:28:25 UTC (rev 44467)
@@ -16,20 +16,20 @@
 #
 #############################################################################
 
-#%Module
-#%  description: Calculates univariate statistics from a GRASS raster map based on vector polygons and uploads statistics to new attribute columns.
-#%  keywords: vector
-#%  keywords: raster
-#%  keywords: statistics
-#%End
+#%module
+#% description: Calculates univariate statistics from a raster map based on vector polygon map and uploads statistics to new attribute columns.
+#% keywords: vector
+#% keywords: raster
+#% keywords: statistics
+#%end
 #%flag
-#%  key: c
-#%  description: Continue if upload column(s) already exist
-#%END
+#% key: c
+#% description: Continue if upload column(s) already exist
+#%end
 #%flag
-#%  key: e
-#%  description: Calculate extended statistics
-#%END
+#% key: e
+#% description: Calculate extended statistics
+#%end
 #%option
 #% key: vector
 #% type: string
@@ -38,13 +38,13 @@
 #% label: Name of input vector polygon map
 #% description: Data source for OGR access
 #% required : yes
-#%End
+#%end
 #%option
 #% key: layer
 #% type: integer
 #% label: Layer number or name
 #% description: A single vector map can be connected to multiple database tables. This number determines which table to use. Layer name for OGR access.
-#% gisprompt: old_layer,layer,layer
+#% gisprompt: old,layer,layer
 #% answer: 1
 #% required : no
 #%end
@@ -55,9 +55,9 @@
 #% gisprompt: old,cell,raster
 #% description: Name of input raster map to calculate statistics from
 #% required : yes
-#%END
+#%end
 #%option
-#% key: colprefix
+#% key: column_prefix
 #% type: string
 #% description: Column prefix for new attribute columns
 #% required : yes



More information about the grass-commit mailing list