Skip to content

Commit

Permalink
major keywords cleanup
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46065 15284696-431f-4ddb-bdfa-cd5b030d7da7
  • Loading branch information
neteler committed Apr 21, 2011
1 parent e293185 commit e7a4c5b
Show file tree
Hide file tree
Showing 107 changed files with 175 additions and 42 deletions.
1 change: 1 addition & 0 deletions display/d.colorlist/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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).";
Expand Down
3 changes: 2 additions & 1 deletion display/d.colors/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.";
Expand Down
1 change: 1 addition & 0 deletions display/d.erase/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
3 changes: 2 additions & 1 deletion display/d.extract/main.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/****************************************************************
*
* MODULE: d.vect.extract
* MODULE: d.extract
*
* AUTHOR(S): Radim Blazek, Markus Neteler
*
Expand Down Expand Up @@ -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.");

Expand Down
1 change: 1 addition & 0 deletions display/d.font/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions display/d.fontlist/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions display/d.geodesic/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
3 changes: 3 additions & 0 deletions display/d.his/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
2 changes: 2 additions & 0 deletions display/d.histogram/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions display/d.info/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down
1 change: 1 addition & 0 deletions display/d.labels/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions display/d.linegraph/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down
1 change: 1 addition & 0 deletions display/d.measure/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
41 changes: 23 additions & 18 deletions display/d.nviz/main.c
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
/*
* Copyright (C) 2000 by the GRASS Development Team
* Author: Bob Covill <[email protected]>
*
* 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 <[email protected]>
* 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>
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions display/d.profile/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
1 change: 1 addition & 0 deletions display/d.rast.arrow/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions display/d.rast.num/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions display/d.rhumbline/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down
1 change: 1 addition & 0 deletions display/d.text/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down
1 change: 1 addition & 0 deletions display/d.thematic.area/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions display/d.title/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
3 changes: 3 additions & 0 deletions display/d.what.rast/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
3 changes: 3 additions & 0 deletions display/d.what.vect/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
2 changes: 2 additions & 0 deletions display/d.where/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
1 change: 1 addition & 0 deletions display/d.zoom/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down
3 changes: 2 additions & 1 deletion general/g.access/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.");

Expand Down
1 change: 1 addition & 0 deletions general/g.cairocomp/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions general/g.dirseps/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
3 changes: 2 additions & 1 deletion general/g.filename/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 */
Expand Down
3 changes: 2 additions & 1 deletion general/g.findetc/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]);
Expand Down
3 changes: 2 additions & 1 deletion general/g.findfile/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 "
Expand Down
1 change: 1 addition & 0 deletions general/g.mkfontcap/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
1 change: 1 addition & 0 deletions general/g.pnmcomp/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions general/g.ppmtopng/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions general/g.region/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down
1 change: 1 addition & 0 deletions general/g.tempfile/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.";

Expand Down
Loading

0 comments on commit e7a4c5b

Please sign in to comment.