浏览代码

major keywords cleanup

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46065 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 14 年之前
父节点
当前提交
e7a4c5b660
共有 100 个文件被更改,包括 158 次插入40 次删除
  1. 1 0
      display/d.colorlist/main.c
  2. 2 1
      display/d.colors/main.c
  3. 1 0
      display/d.erase/main.c
  4. 2 1
      display/d.extract/main.c
  5. 1 0
      display/d.font/main.c
  6. 1 0
      display/d.fontlist/main.c
  7. 1 0
      display/d.geodesic/main.c
  8. 3 0
      display/d.his/main.c
  9. 2 0
      display/d.histogram/main.c
  10. 1 0
      display/d.info/main.c
  11. 1 0
      display/d.labels/main.c
  12. 1 0
      display/d.linegraph/main.c
  13. 1 0
      display/d.measure/main.c
  14. 23 18
      display/d.nviz/main.c
  15. 2 0
      display/d.profile/main.c
  16. 1 0
      display/d.rast.arrow/main.c
  17. 1 0
      display/d.rast.num/main.c
  18. 1 0
      display/d.rhumbline/main.c
  19. 1 0
      display/d.text/main.c
  20. 1 0
      display/d.thematic.area/main.c
  21. 1 0
      display/d.title/main.c
  22. 3 0
      display/d.what.rast/main.c
  23. 3 0
      display/d.what.vect/main.c
  24. 2 0
      display/d.where/main.c
  25. 1 0
      display/d.zoom/main.c
  26. 2 1
      general/g.access/main.c
  27. 1 0
      general/g.cairocomp/main.c
  28. 1 0
      general/g.dirseps/main.c
  29. 2 1
      general/g.filename/main.c
  30. 2 1
      general/g.findetc/main.c
  31. 2 1
      general/g.findfile/main.c
  32. 1 0
      general/g.mkfontcap/main.c
  33. 1 0
      general/g.pnmcomp/main.c
  34. 1 0
      general/g.ppmtopng/main.c
  35. 1 0
      general/g.region/main.c
  36. 1 0
      general/g.tempfile/main.c
  37. 4 1
      imagery/i.cca/main.c
  38. 1 0
      imagery/i.class/main.c
  39. 1 0
      imagery/i.group/main.c
  40. 1 0
      imagery/i.points/main.c
  41. 1 0
      imagery/i.target/main.c
  42. 1 0
      imagery/i.vpoints/main.c
  43. 1 0
      imagery/i.zc/main.c
  44. 1 0
      misc/m.cogo/main.c
  45. 1 0
      raster/r.bitpattern/main.c
  46. 1 0
      raster/r.category/main.c
  47. 1 0
      raster/r.circle/main.c
  48. 1 0
      raster/r.coin/main.c
  49. 1 0
      raster/r.compress/main.c
  50. 1 0
      raster/r.covar/main.c
  51. 1 0
      raster/r.cross/main.c
  52. 1 0
      raster/r.describe/main.c
  53. 1 0
      raster/r.distance/main.c
  54. 1 0
      raster/r.drain/main.c
  55. 1 0
      raster/r.external.out/main.c
  56. 1 0
      raster/r.external/main.c
  57. 3 0
      raster/r.his/main.c
  58. 1 1
      raster/r.horizon/main.c
  59. 1 0
      raster/r.kappa/main.c
  60. 1 0
      raster/r.los/main.c
  61. 1 1
      raster/r.mapcalc/main.c
  62. 2 1
      raster/r.mfilter/main.c
  63. 2 0
      raster/r.mode/main.c
  64. 2 0
      raster/r.neighbors/main.c
  65. 1 0
      raster/r.patch/main.c
  66. 1 0
      raster/r.profile/main.c
  67. 2 0
      raster/r.quant/main.c
  68. 1 0
      raster/r.quantile/main.c
  69. 2 0
      raster/r.random/main.c
  70. 1 0
      raster/r.region/main.c
  71. 2 1
      raster/r.resamp.bspline/main.c
  72. 1 0
      raster/r.resamp.rst/main.c
  73. 1 0
      raster/r.resample/main.c
  74. 1 0
      raster/r.rescale.eq/main.c
  75. 1 0
      raster/r.rescale/main.c
  76. 1 1
      raster/r.ros/main.c
  77. 1 0
      raster/r.solute.transport/main.c
  78. 1 0
      raster/r.spread/main.c
  79. 2 0
      raster/r.spreadpath/main.c
  80. 1 0
      raster/r.sun/main.c
  81. 1 1
      raster/r.surf.area/main.c
  82. 2 0
      raster/r.texture/main.c
  83. 1 0
      raster/r.thin/main.c
  84. 1 0
      raster/r.to.vect/main.c
  85. 1 0
      raster/r.transect/main.c
  86. 1 0
      raster/r.volume/main.c
  87. 2 0
      raster/r.what.color/main.c
  88. 2 0
      raster/r.what/main.c
  89. 1 0
      raster3d/r3.cross.rast/main.c
  90. 1 0
      raster3d/r3.gwflow/main.c
  91. 1 0
      vector/v.build/main.c
  92. 1 1
      vector/v.external.out/main.c
  93. 3 3
      vector/v.external/main.c
  94. 1 0
      vector/v.in.region/main.c
  95. 2 1
      vector/v.net.alloc/main.c
  96. 2 1
      vector/v.net.iso/main.c
  97. 2 1
      vector/v.net.path/main.c
  98. 2 1
      vector/v.net.salesman/main.c
  99. 2 1
      vector/v.net.steiner/main.c
  100. 0 0
      vector/v.net/main.c

+ 1 - 0
display/d.colorlist/main.c

@@ -33,6 +33,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("setup"));
     module->description =
 	"Output a list of all available display colors with a configurable "
 	"separator (default is comma).";

+ 2 - 1
display/d.colors/main.c

@@ -8,7 +8,7 @@
  *               Eric G. Miller <egm2 jps.net>, 
  *               Glynn Clements <glynn gclements.plus.com>, 
  *               Hamish Bowman <hamish_b yahoo.com>
- * PURPOSE:      user changes color table for raster map layers
+ * PURPOSE:      Enables the user to change color table of raster map layers
  * COPYRIGHT:    (C) 1999-2007 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
@@ -38,6 +38,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("raster"));
     module->description =
 	"Allows the user to interactively change the color table "
 	"of a raster map layer displayed on the graphics monitor.";

+ 1 - 0
display/d.erase/main.c

@@ -27,6 +27,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("setup"));
     module->description =
 	_("Erase the contents of the active display frame with user defined color");
 

+ 2 - 1
display/d.extract/main.c

@@ -1,7 +1,7 @@
 
 /****************************************************************
  *
- * MODULE:       d.vect.extract
+ * MODULE:       d.extract
  * 
  * AUTHOR(S):    Radim Blazek, Markus Neteler
  *               
@@ -47,6 +47,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("vector"));
     module->description =
 	_("Selects and extracts vectors with mouse into new vector map.");
 

+ 1 - 0
display/d.font/main.c

@@ -44,6 +44,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("setup"));
     module->description =
 	_("Selects the font in which text will be displayed "
 	  "on the user's graphics monitor.");

+ 1 - 0
display/d.fontlist/main.c

@@ -36,6 +36,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("setup"));
     module->description = _("Lists the available fonts.");
 
     flagl = G_define_flag();

+ 1 - 0
display/d.geodesic/main.c

@@ -41,6 +41,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("distance"));
     module->description =
 	_("Displays a geodesic line, tracing the shortest distance "
 	"between two geographic points along a great circle, in "

+ 3 - 0
display/d.his/main.c

@@ -60,6 +60,9 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("color transformation"));
+    G_add_keyword(_("RGB"));
+    G_add_keyword(_("HIS"));
     module->description =
 	_("Displays the result obtained by combining "
 	  "hue, intensity, and saturation (his) values "

+ 2 - 0
display/d.histogram/main.c

@@ -82,6 +82,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("histogram"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Displays a histogram in the form of a pie or bar chart "
 	  "for a user-specified raster map.");

+ 1 - 0
display/d.info/main.c

@@ -29,6 +29,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("metadata"));
     module->description =
 	_("Display information about the active display monitor");
 

+ 1 - 0
display/d.labels/main.c

@@ -41,6 +41,7 @@ int main(int argc, char **argv)
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("paint labels"));
     module->description =
 	_("Displays text labels (created with v.label) "
 	  "to the active frame on the graphics monitor.");

+ 1 - 0
display/d.linegraph/main.c

@@ -117,6 +117,7 @@ int main(int argc, char **argv)
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("cartography"));
     module->description =
 	_("Generates and displays simple line graphs in the active graphics monitor display frame.");
 

+ 1 - 0
display/d.measure/main.c

@@ -44,6 +44,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("geometry"));
     module->description =
 	_("Measures the lengths and areas of features drawn "
 	  "by the user in the active display frame on the "

+ 23 - 18
display/d.nviz/main.c

@@ -1,23 +1,24 @@
-/*
- * Copyright (C) 2000 by the GRASS Development Team
- * Author: Bob Covill <bcovill@tekmap.ns.ca>
- * 
- * This Program is free software under the GPL (>=v2)
- * Read the file COPYING coming with GRASS for details
+
+/****************************************************************************
+ *
+ * MODULE:       d.nviz
+ * AUTHOR(S):    Bob Covill <bcovill@tekmap.ns.ca>
+ * PURPOSE:      interactively create fly-through script for NVIZ
+ * Functions:
+ *   main --      parse parameters and get key frame coorinates
+ *   do_profile-- calculate camera and eye coordinates from
+ *                raster map
+ *   move --      part of screen coords
+ *   cont --      part of screen coords 
+ *   read_rast -- return camera and eye coordinates
+ *
+ * COPYRIGHT:    (C) 2000 by 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.
  *
- */
-
-/* d.nviv -- interactively create fly-through
- * script for NVIZ
- * Functions ********************************
- * main --      parse parameters and get key frame coorinates
- * do_profile --calculate camera and eye coordinates from
- *              raster map
- * move --      part of screen coords
- * cont --      part of screen coords 
- * read_rast -- return camera and eye coordinates
- ***********************************/
+ *****************************************************************************/
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -66,6 +67,10 @@ int main(int argc, char *argv[])
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("raster"));
+    G_add_keyword(_("raster3d"));
+    G_add_keyword(_("vector"));
+    G_add_keyword(_("visualization"));
     module->description = _("Creates fly-through script to run in NVIZ.");
 
     parm.opt1 = G_define_standard_option(G_OPT_R_INPUT);

+ 2 - 0
display/d.profile/main.c

@@ -189,6 +189,8 @@ int main(int argc, char **argv)
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("raster"));
+    G_add_keyword(_("profile"));
     module->description = _("Plots profile of a transect.");
 
     /* set up command line */

+ 1 - 0
display/d.rast.arrow/main.c

@@ -93,6 +93,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("raster"));
     module->description =
 	_("Draws arrows representing cell aspect direction "
 	  "for a raster map containing aspect data.");

+ 1 - 0
display/d.rast.num/main.c

@@ -69,6 +69,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("raster"));
     module->description =
 	_("Overlays cell category values on a raster map layer "
 	  "displayed to the graphics monitor.");

+ 1 - 0
display/d.rhumbline/main.c

@@ -41,6 +41,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("distance"));
     module->description =
 	_("Displays the rhumbline joining two longitude/latitude coordinates.");
 

+ 1 - 0
display/d.text/main.c

@@ -137,6 +137,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("cartography"));
     module->description =
 	_("Draws text in the active display frame on the graphics monitor using the current font.");
 

+ 1 - 0
display/d.thematic.area/main.c

@@ -74,6 +74,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("cartography"));
     module->description =
 	_("Displays a thematic vector area map in the active "
 	  "frame on the graphics monitor.");

+ 1 - 0
display/d.title/main.c

@@ -47,6 +47,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("cartography"));
     module->description =
 	_("Create a TITLE for a raster map in a form suitable "
 	  "for display with d.text.");

+ 3 - 0
display/d.what.rast/main.c

@@ -46,6 +46,9 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("raster"));
+    G_add_keyword(_("position"));
+    G_add_keyword(_("querying"));
     module->description =
 	_("Allows the user to interactively query the category contents "
 	  "of multiple raster map layers at user specified locations "

+ 3 - 0
display/d.what.vect/main.c

@@ -54,6 +54,9 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("vector"));
+    G_add_keyword(_("position"));
+    G_add_keyword(_("querying"));
     module->description =
 	_("Allows the user to interactively query a vector map layer "
 	  "at user-selected locations within the current geographic region.");

+ 2 - 0
display/d.where/main.c

@@ -41,6 +41,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("position"));
+    G_add_keyword(_("querying"));
     module->description =
 	_("Identifies the geographic coordinates associated with "
 	  "point locations given in display coordinates.");

+ 1 - 0
display/d.zoom/main.c

@@ -59,6 +59,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("display"));
+    G_add_keyword(_("zoom"));
     module->description =
 	_("Allows the user to change the current geographic "
 	  "region settings interactively, with a mouse.");

+ 2 - 1
general/g.access/main.c

@@ -7,7 +7,7 @@
  *               Bernhard Reiter <bernhard intevation.de>,
  *               Glynn Clements <glynn gclements.plus.com>,
  *               Hamish Bowman <hamish_b yahoo.com>, Radim Blazek <radim.blazek gmail.com>
- * PURPOSE:      
+ * PURPOSE:      Controls access to the current mapset for other users on the system
  * COPYRIGHT:    (C) 1999-2006 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
@@ -35,6 +35,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("map management"));
     module->description =
 	_("Controls access to the current mapset for other users on the system.");
 

+ 1 - 0
general/g.cairocomp/main.c

@@ -191,6 +191,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("gui"));
     module->description = _("Overlays multiple X Pixmaps");
 
     opt.in = G_define_option();

+ 1 - 0
general/g.dirseps/main.c

@@ -32,6 +32,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("map management"));
     module->label =
 	_("Internal GRASS utility for converting directory separator characters.");
     module->description =

+ 2 - 1
general/g.filename/main.c

@@ -8,7 +8,7 @@
  *               Glynn Clements <glynn gclements.plus.com>,
  *               Hamish Bowman <hamish_b yahoo.com>,
  *               Jan-Oliver Wagner <jan intevation.de>
- * PURPOSE:      
+ * PURPOSE:      Prints GRASS data base file names
  * COPYRIGHT:    (C) 1999-2006 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
@@ -37,6 +37,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("map management"));
     module->description = _("Prints GRASS data base file names.");
 
     /* Define the different options */

+ 2 - 1
general/g.findetc/main.c

@@ -3,7 +3,7 @@
  *
  * MODULE:       g.findetc
  * AUTHOR(S):    William Kyngesburye
- * PURPOSE:      
+ * PURPOSE:      Searches for GRASS support files
  * COPYRIGHT:    (C) 2007 by the GRASS Development Team
  *
  *               This program is free software under the GNU General Public
@@ -26,6 +26,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("map management"));
     module->description = "Searches for GRASS support files.";
 
     G_gisinit(argv[0]);

+ 2 - 1
general/g.findfile/main.c

@@ -8,7 +8,7 @@
  *               Glynn Clements <glynn gclements.plus.com>,
  *               Jan-Oliver Wagner <jan intevation.de>
  *               Martin landa <landa.martin gmail.com>
- * PURPOSE:      
+ * PURPOSE:      Searches for GRASS data base files
  * COPYRIGHT:    (C) 1999-2008, 2011 by the GRASS Development Team
  *
  *               This program is free software under the GNU General
@@ -36,6 +36,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("map management"));
     G_add_keyword(_("data base files"));
     module->description =
 	_("Searches for GRASS data base files "

+ 1 - 0
general/g.mkfontcap/main.c

@@ -68,6 +68,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("gui"));
     module->description =
 	_("Generates the font configuration file by scanning various directories "
 	  "for fonts");

+ 1 - 0
general/g.pnmcomp/main.c

@@ -279,6 +279,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("gui"));
     module->description = "Overlays multiple PPM image files";
 
     opt.in = G_define_option();

+ 1 - 0
general/g.ppmtopng/main.c

@@ -115,6 +115,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("gui"));
     module->description = "Converts between PPM/PGM and PNG image formats";
 
     opt.in = G_define_option();

+ 1 - 0
general/g.region/main.c

@@ -61,6 +61,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("settings"));
     module->description =
 	_("Manages the boundary definitions for the " "geographic region.");
 

+ 1 - 0
general/g.tempfile/main.c

@@ -34,6 +34,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("general"));
+    G_add_keyword(_("map management"));
     module->description =
 	"Creates a temporary file and prints the file name.";
 

+ 4 - 1
imagery/i.cca/main.c

@@ -82,6 +82,8 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("imagery"));
+    G_add_keyword(_("statistics"));
+    G_add_keyword(_("CCA"));
     module->description =
 	_("Canonical components analysis (cca) "
 	  "program for image processing.");
@@ -96,7 +98,8 @@ int main(int argc, char *argv[])
     sig_opt->key = "signature";
     sig_opt->type = TYPE_STRING;
     sig_opt->required = YES;
-    sig_opt->description = _("Ascii file containing spectral signatures");
+    sig_opt->key_desc = "name";
+    sig_opt->description = _("File containing spectral signatures");
 
     out_opt = G_define_standard_option(G_OPT_R_OUTPUT);
     out_opt->description = _("Output raster map prefix name");

+ 1 - 0
imagery/i.class/main.c

@@ -89,6 +89,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("imagery"));
+    G_add_keyword(_("classification"));
     module->label =
 	_("Generates spectral signatures for an image by allowing the user "
 	  "to outline regions of interest.");

+ 1 - 0
imagery/i.group/main.c

@@ -50,6 +50,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("imagery"));
+    G_add_keyword(_("map management"));
     module->description =
 	_("Creates, edits, and lists groups and subgroups of imagery files.");
 

+ 1 - 0
imagery/i.points/main.c

@@ -94,6 +94,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("imagery"));
+    G_add_keyword(_("geometry"));
     module->description =
 	_("Mark ground control points on image to be rectified.");
 

+ 1 - 0
imagery/i.target/main.c

@@ -43,6 +43,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("imagery"));
+    G_add_keyword(_("map management"));
     module->description =
 	_("Targets an imagery group to a GRASS location and mapset.");
 

+ 1 - 0
imagery/i.vpoints/main.c

@@ -92,6 +92,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("imagery"));
+    G_add_keyword(_("geometry"));
     module->description =
 	_("Set registration points for an imagery group from a vector map "
 	  "or keyboard entry.");

+ 1 - 0
imagery/i.zc/main.c

@@ -50,6 +50,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("imagery"));
+    G_add_keyword(_("edges"));
     module->description =
 	_("Zero-crossing \"edge detection\" raster "
 	  "function for image processing.");

+ 1 - 0
misc/m.cogo/main.c

@@ -223,6 +223,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("miscellaneous"));
+    G_add_keyword(_("distance"));
     module->label = _("A simple utility for converting bearing and "
 		      "distance measurements to coordinates and vice versa.");
     module->description = _("It assumes a cartesian coordinate system");

+ 1 - 0
raster/r.bitpattern/main.c

@@ -61,6 +61,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("algebra"));
     module->description = _("Compares bit patterns with a raster map.");
 
     /* Define the different options */

+ 1 - 0
raster/r.category/main.c

@@ -50,6 +50,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("category"));
     module->description =
 	_("Manages category values and labels associated "
 	  "with user-specified raster map layers.");

+ 1 - 0
raster/r.circle/main.c

@@ -49,6 +49,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("geometry"));
     module->description =
 	_("Creates a raster map containing concentric "
 	  "rings around a given point.");

+ 1 - 0
raster/r.coin/main.c

@@ -64,6 +64,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Tabulates the mutual occurrence (coincidence) "
 	  "of categories for two raster map layers.");

+ 1 - 0
raster/r.compress/main.c

@@ -60,6 +60,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("map management"));
     module->description = _("Compresses and decompresses raster maps.");
 
     map = G_define_option();

+ 1 - 0
raster/r.covar/main.c

@@ -49,6 +49,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Outputs a covariance/correlation matrix "
 	  "for user-specified raster map layer(s).");

+ 1 - 0
raster/r.cross/main.c

@@ -71,6 +71,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Creates a cross product of the category values from "
 	  "multiple raster map layers.");

+ 1 - 0
raster/r.describe/main.c

@@ -52,6 +52,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("metadata"));
     module->description =
 	_("Prints terse list of category values found in a raster map layer.");
 

+ 1 - 0
raster/r.distance/main.c

@@ -36,6 +36,7 @@ int main(int argc, char *argv[])
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("distance"));
     module->description =
 	_("Locates the closest points between objects in two raster maps.");
 

+ 1 - 0
raster/r.drain/main.c

@@ -106,6 +106,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("hydrology"));
     module->description =
 	_("Traces a flow through an elevation model on a raster map.");
 

+ 1 - 0
raster/r.external.out/main.c

@@ -213,6 +213,7 @@ int main(int argc, char *argv[])
     module = G_define_module();
     G_add_keyword(_("raster"));
     G_add_keyword(_("export"));
+    G_add_keyword(_("output"));
     G_add_keyword(_("external"));
     module->description =
 	_("Defines raster output format utilizing GDAL library.");

+ 1 - 0
raster/r.external/main.c

@@ -522,6 +522,7 @@ int main(int argc, char *argv[])
     module = G_define_module();
     G_add_keyword(_("raster"));
     G_add_keyword(_("import"));
+    G_add_keyword(_("input"));
     G_add_keyword(_("external"));
     module->description =
 	_("Link GDAL supported raster data as a pseudo GRASS raster map.");

+ 3 - 0
raster/r.his/main.c

@@ -60,6 +60,9 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("color transformation"));
+    G_add_keyword(_("RGB"));
+    G_add_keyword(_("HIS"));
     module->description =
 	_("Generates red, green and blue raster map layers "
 	  "combining hue, intensity and saturation (HIS) "

+ 1 - 1
raster/r.horizon/main.c

@@ -176,8 +176,8 @@ int main(int argc, char *argv[])
 
     G_gisinit(argv[0]);
     module = G_define_module();
-
     G_add_keyword(_("raster"));
+    G_add_keyword(_("sun position"));
     module->label =
 	_("Horizon angle computation from a digital elevation model.");
     module->description =

+ 1 - 0
raster/r.kappa/main.c

@@ -66,6 +66,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Calculate error matrix and kappa "
 	  "parameter for accuracy assessment of classification " "result.");

+ 1 - 0
raster/r.los/main.c

@@ -91,6 +91,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("viewshed"));
     module->description = _("Line-of-sight raster analysis program.");
 
     /* Define the different options */

+ 1 - 1
raster/r.mapcalc/main.c

@@ -88,7 +88,7 @@ static expr_list *parse_file(const char *filename)
 
     fp = fopen(filename, "r");
     if (!fp)
-	G_fatal_error(_("unable to open input file <%s>"), filename);
+	G_fatal_error(_("Unable to open input file <%s>"), filename);
 
     res = parse_stream(fp);
 

+ 2 - 1
raster/r.mfilter/main.c

@@ -54,7 +54,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("raster"));
-    G_add_keyword(_("map algebra"));
+    G_add_keyword(_("algebra"));
+    G_add_keyword(_("statistics"));
     module->description = _("Performs raster map matrix filter.");
 
     /* Define the different options */

+ 2 - 0
raster/r.mode/main.c

@@ -52,6 +52,8 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("algebra"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Finds the mode of values in a cover map within "
 	  "areas assigned the same category value in a "

+ 2 - 0
raster/r.neighbors/main.c

@@ -115,6 +115,8 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("algebra"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Makes each cell category value a "
 	  "function of the category values assigned to the cells "

+ 1 - 0
raster/r.patch/main.c

@@ -50,6 +50,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("geometry"));
     module->description =
 	_("Creates a composite raster map layer by using "
 	  "known category values from one (or more) map layer(s) "

+ 1 - 0
raster/r.profile/main.c

@@ -48,6 +48,7 @@ int main(int argc, char *argv[])
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("profile"));
     module->description =
 	_("Outputs the raster map layer values lying on user-defined line(s).");
 

+ 2 - 0
raster/r.quant/main.c

@@ -45,6 +45,8 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("quantization"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Produces the quantization file for a floating-point map.");
 

+ 1 - 0
raster/r.quantile/main.c

@@ -253,6 +253,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("algebra"));
     G_add_keyword(_("statistics"));
     module->description = _("Compute quantiles using two passes.");
 

+ 2 - 0
raster/r.random/main.c

@@ -49,6 +49,8 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("random"));
+    G_add_keyword(_("vector"));
     module->description =
 	_("Creates a raster map layer and vector point map "
 	  "containing randomly located points.");

+ 1 - 0
raster/r.region/main.c

@@ -49,6 +49,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("metadata"));
     module->description =
 	_("Sets the boundary definitions for a raster map.");
 

+ 2 - 1
raster/r.resamp.bspline/main.c

@@ -72,7 +72,8 @@ int main(int argc, char *argv[])
     module = G_define_module();
     G_add_keyword(_("raster"));
     G_add_keyword(_("surface"));
-    G_add_keyword(_("resampling"));
+    G_add_keyword(_("resample"));
+    G_add_keyword(_("interpolation"));
     module->description =
 	_("Bicubic or bilinear spline interpolation with Tykhonov regularization.");
 

+ 1 - 0
raster/r.resamp.rst/main.c

@@ -146,6 +146,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("resample"));
     module->description =
 	_("Reinterpolates and optionally computes topographic analysis from "
 	  "input raster map to a new raster map (possibly with "

+ 1 - 0
raster/r.resample/main.c

@@ -52,6 +52,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("resample"));
     module->description =
 	_("GRASS raster map layer data resampling capability.");
 

+ 1 - 0
raster/r.rescale.eq/main.c

@@ -49,6 +49,7 @@ int main(int argc, char *argv[])
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("rescale"));
     module->description =
 	_("Rescales histogram equalized the range of category "
 	  "values in a raster map layer.");

+ 1 - 0
raster/r.rescale/main.c

@@ -46,6 +46,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("rescale"));
     module->description =
 	_("Rescales the range of category values " "in a raster map layer.");
 

+ 1 - 1
raster/r.ros/main.c

@@ -209,7 +209,7 @@ int main(int argc, char *argv[])
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("raster"));
-    G_add_keyword(_("rate of spread"));
+    G_add_keyword(_("fire"));
     module->label = _("Generates rate of spread raster map layers.");
     module->description =
 	_("Generates three, or four raster map layers showing 1) the base "

+ 1 - 0
raster/r.solute.transport/main.c

@@ -227,6 +227,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("hydrology"));
     G_add_keyword(_("solute transport"));
     module->description =
 	_("Numerical calculation program for transient, confined and unconfined "

+ 1 - 0
raster/r.spread/main.c

@@ -100,6 +100,7 @@ int main(int argc, char *argv[])
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("fire"));
     module->label =
 	_("Simulates elliptically anisotropic spread on a graphics window and "
 	 "generates a raster map of the cumulative time of spread, "

+ 2 - 0
raster/r.spreadpath/main.c

@@ -87,6 +87,8 @@ int main(int argc, char **argv)
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("fire"));
+    G_add_keyword(_("cumulative costs"));
     module->description =
 	_("Recursively traces the least cost path backwards to "
 	  "cells from which the cumulative cost was determined.");

+ 1 - 0
raster/r.sun/main.c

@@ -228,6 +228,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("sun energy"));
     module->label = _("Solar irradiance and irradiation model.");
     module->description =
 	_("Computes direct (beam), diffuse and reflected solar irradiation raster "

+ 1 - 1
raster/r.surf.area/main.c

@@ -87,7 +87,7 @@ int main(int argc, char *argv[])
     module = G_define_module();
     G_add_keyword(_("raster"));
     G_add_keyword(_("surface"));
-    G_add_keyword(_("interpolation"));
+    G_add_keyword(_("statistics"));
     module->description = _("Surface area estimation for rasters.");
 
     surf = G_define_option();

+ 2 - 0
raster/r.texture/main.c

@@ -73,6 +73,8 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("algebra"));
+    G_add_keyword(_("statistics"));
     module->description =
 	_("Generate images with textural features from a raster map.");
 

+ 1 - 0
raster/r.thin/main.c

@@ -54,6 +54,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("geometry"));
     module->description =
 	_("Thins non-zero cells that denote linear "
 	  "features in a raster map layer.");

+ 1 - 0
raster/r.to.vect/main.c

@@ -69,6 +69,7 @@ int main(int argc, char *argv[])
     module = G_define_module();
     G_add_keyword(_("raster"));
     G_add_keyword(_("conversion"));
+    G_add_keyword(_("geometry"));
     G_add_keyword(_("vectorization"));
     module->description = _("Converts a raster map into a vector map.");
 

+ 1 - 0
raster/r.transect/main.c

@@ -101,6 +101,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("transect"));
     module->description =
 	_("Outputs raster map layer values lying along "
 	  "user defined transect line(s).");

+ 1 - 0
raster/r.volume/main.c

@@ -56,6 +56,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("volume"));
     module->description =
 	_("Calculates the volume of data \"clumps\", "
 	  "and (optionally) produces a GRASS vector points map "

+ 2 - 0
raster/r.what.color/main.c

@@ -86,6 +86,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("querying"));
+    G_add_keyword(_("color table"));
     module->description = _("Queries colors for a raster map layer.");
 
     opt.input = G_define_option();

+ 2 - 0
raster/r.what/main.c

@@ -89,6 +89,8 @@ int main(int argc, char *argv[])
     /* Set description */
     module = G_define_module();
     G_add_keyword(_("raster"));
+    G_add_keyword(_("position"));
+    G_add_keyword(_("querying"));
     module->description =
 	_("Queries raster map layers on their category values and category labels.");
 

+ 1 - 0
raster3d/r3.cross.rast/main.c

@@ -257,6 +257,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("raster3d"));
+    G_add_keyword(_("raster"));
     G_add_keyword(_("voxel"));
     module->description =
 	_("Creates cross section 2D raster map from 3d raster map based on 2D elevation map");

+ 1 - 0
raster3d/r3.gwflow/main.c

@@ -158,6 +158,7 @@ int main(int argc, char *argv[])
     module = G_define_module();
     G_add_keyword(_("raster3d"));
     G_add_keyword(_("voxel"));
+    G_add_keyword(_("hydrology"));
     G_add_keyword(_("groundwater"));
     G_add_keyword(_("numeric"));
     G_add_keyword(_("simulation"));

+ 1 - 0
vector/v.build/main.c

@@ -34,6 +34,7 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("vector"));
+    G_add_keyword(_("geometry"));
     G_add_keyword(_("topology"));
     module->description = _("Creates topology for vector map.");
 

+ 1 - 1
vector/v.external.out/main.c

@@ -32,9 +32,9 @@ int main(int argc, char *argv[])
 
     module = G_define_module();
     G_add_keyword(_("vector"));
+    G_add_keyword(_("export"));
     G_add_keyword(_("output"));
     G_add_keyword(_("external"));
-
     module->description =
 	_("Defines vector output format utilizing OGR library.");
 

+ 3 - 3
vector/v.external/main.c

@@ -46,9 +46,9 @@ int main(int argc, char *argv[])
     
     module = G_define_module();
     G_add_keyword(_("vector"));
-    G_add_keyword(_("external"));
-    G_add_keyword(_("ogr"));
-    
+    G_add_keyword(_("import"));
+    G_add_keyword(_("input"));
+    G_add_keyword(_("external")); 
     module->description = _("Creates a new pseudo-vector map as a link to an OGR-supported layer.");
     
     parse_args(argc, argv,

+ 1 - 0
vector/v.in.region/main.c

@@ -36,6 +36,7 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("vector"));
+    G_add_keyword(_("geometry"));
     module->description = _("Create a new vector from the current region.");
 
     out_opt = G_define_standard_option(G_OPT_V_OUTPUT);

+ 2 - 1
vector/v.net.alloc/main.c

@@ -58,7 +58,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("vector"));
-    G_add_keyword(_("networking"));
+    G_add_keyword(_("network"));
+    G_add_keyword(_("allocation"));
     module->label =
 	_("Allocate subnets for nearest centres (direction from centre).");
     module->description =

+ 2 - 1
vector/v.net.iso/main.c

@@ -70,7 +70,8 @@ int main(int argc, char **argv)
     module = G_define_module();
     module->label = _("Splits net by cost isolines.");
     G_add_keyword(_("vector"));
-    G_add_keyword(_("networking"));
+    G_add_keyword(_("network"));
+    G_add_keyword(_("isolines"));
     module->description =
 	_("Splits net to bands between cost isolines (direction from centre). "
 	 "Centre node must be opened (costs >= 0). "

+ 2 - 1
vector/v.net.path/main.c

@@ -38,7 +38,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("vector"));
-    G_add_keyword(_("networking"));
+    G_add_keyword(_("network"));
+    G_add_keyword(_("shortest path"));
     module->description = _("Finds shortest path on vector network.");
 
     input_opt = G_define_standard_option(G_OPT_V_INPUT);

+ 2 - 1
vector/v.net.salesman/main.c

@@ -94,7 +94,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("vector"));
-    G_add_keyword(_("networking"));
+    G_add_keyword(_("network"));
+    G_add_keyword(_("salesman"));
     module->label =
 	_("Creates a cycle connecting given nodes (Traveling salesman problem).");
     module->description =

+ 2 - 1
vector/v.net.steiner/main.c

@@ -342,7 +342,8 @@ int main(int argc, char **argv)
 
     module = G_define_module();
     G_add_keyword(_("vector"));
-    G_add_keyword(_("networking"));
+    G_add_keyword(_("network"));
+    G_add_keyword(_("steiner tree"));
     module->label =
 	_("Create Steiner tree for the network and given terminals");
     module->description =

+ 0 - 0
vector/v.net/main.c


部分文件因为文件数量过多而无法显示