瀏覽代碼

v.colors: description cosmetics

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41445 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父節點
當前提交
04263ae09d
共有 1 個文件被更改,包括 17 次插入16 次删除
  1. 17 16
      scripts/v.colors/v.colors.py

+ 17 - 16
scripts/v.colors/v.colors.py

@@ -8,7 +8,7 @@
 # PURPOSE:      Populate a GRASSRGB column with a color map and data column
 #		Helper script for thematic mapping tasks
 #
-# COPYRIGHT:    (c) 2008 Hamish Bowman, and the GRASS Development Team
+# COPYRIGHT:    (c) 2008, 2010 Hamish Bowman, and the GRASS Development Team
 #               This program is free software under the GNU General Public
 #               License (>=v2). Read the file COPYING that comes with GRASS
 #               for details.
@@ -16,7 +16,7 @@
 #############################################################################
 
 #%Module
-#% description: Set color rules for features in a vector using a numeric attribute column.
+#% description: Sets color rules for features in a vector map using a numeric attribute column.
 #% keywords: vector
 #% keywords: color table
 #%End
@@ -25,30 +25,30 @@
 #% type: string
 #% gisprompt: old,vector,vector
 #% key_desc: name
-#% description: Name of input vector map 
+#% description: Name of vector map 
 #% required: yes
 #%end
 #%option
-#% key: column
-#% type: string
-#% description: Name of column containing numeric data
-#% gisprompt: old_dbcolumn,dbcolumn,dbcolumn
-#% required : yes
-#%end
-#%option
 #% key: layer
 #% type: integer
-#% description: Layer number of data column
+#% description: Layer number
 #% gisprompt: old_layer,layer,layer
 #% answer: 1
 #% required: no
 #%end
+#%option
+#% key: column
+#% type: string
+#% description: Name of column containing numeric data
+#% gisprompt: old_dbcolumn,dbcolumn,dbcolumn
+#% required : yes
+#%end
 #%Option
 #% key: rgb_column
 #% type: string
 #% required: no
-#% description: Name of color column to populate
-#% gisprompt: old_dbcolumn,dbcolumn,dbcolumn
+#% description: Name of color column to populate with RGB values
+#% gisprompt: new_dbcolumn,dbcolumn,dbcolumn
 #% answer: GRASSRGB
 #% guisection: Colors
 #%End
@@ -63,7 +63,7 @@
 #% option
 #% key: color
 #% type: string
-#% key_desc: style
+#% key_desc: string
 #% options: aspect,aspectcolr,bcyr,bgyr,byg,byr,celsius,corine,curvature,differences,elevation,etopo2,evi,gdd,grey,grey1.0,grey255,grey.eq,grey.log,gyr,ndvi,population,precipitation,rainbow,ramp,random,ryb,ryg,sepia,slope,srtm,terrain,wave
 #% description: Type of color table
 #% required: no
@@ -72,8 +72,9 @@
 #%Option
 #% key: raster
 #% type: string
+#% key_desc: name
 #% required: no
-#% description: Raster map name from which to copy color table
+#% description: Name of raster map from which to copy color table
 #% gisprompt: old,cell,raster
 #% guisection: Colors
 #%End
@@ -81,7 +82,7 @@
 #% key: rules
 #% type: string
 #% required: no
-#% description: Path to rules file
+#% description: Name of file containing rules
 #% gisprompt: old_file,file,input
 #% guisection: Colors
 #%End