[GRASS-SVN] r39886 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 3 15:30:10 EST 2009
Author: martinl
Date: 2009-12-03 15:30:10 -0500 (Thu, 03 Dec 2009)
New Revision: 39886
Modified:
grass/trunk/lib/gis/parser_help.c
grass/trunk/lib/gis/parser_interface.c
grass/trunk/lib/gis/parser_script.c
grass/trunk/lib/gis/parser_standard_options.c
Log:
libgis: add headers (parse_*.c)
update standard options (OGR support)
Modified: grass/trunk/lib/gis/parser_help.c
===================================================================
--- grass/trunk/lib/gis/parser_help.c 2009-12-03 20:15:46 UTC (rev 39885)
+++ grass/trunk/lib/gis/parser_help.c 2009-12-03 20:30:10 UTC (rev 39886)
@@ -1,3 +1,17 @@
+/*!
+ * \file gis/parser_help.c
+ *
+ * \brief GIS Library - Argument parsing functions (help)
+ *
+ * (C) 2001-2009 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.
+ *
+ * \author Original author CERL
+ * \author Soeren Gebbert added Dec. 2009 WPS process_description document
+ */
+
#include "parser_local_proto.h"
static void show_options(int, const char *);
Modified: grass/trunk/lib/gis/parser_interface.c
===================================================================
--- grass/trunk/lib/gis/parser_interface.c 2009-12-03 20:15:46 UTC (rev 39885)
+++ grass/trunk/lib/gis/parser_interface.c 2009-12-03 20:30:10 UTC (rev 39886)
@@ -1,6 +1,19 @@
+/*!
+ * \file gis/parser_interface.c
+ *
+ * \brief GIS Library - Argument parsing functions (interface)
+ *
+ * (C) 2001-2009 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.
+ *
+ * \author Original author CERL
+ * \author Soeren Gebbert added Dec. 2009 WPS process_description document
+ */
+
#include "parser_local_proto.h"
-
/*!
* \brief Formats text for XML.
*
Modified: grass/trunk/lib/gis/parser_script.c
===================================================================
--- grass/trunk/lib/gis/parser_script.c 2009-12-03 20:15:46 UTC (rev 39885)
+++ grass/trunk/lib/gis/parser_script.c 2009-12-03 20:30:10 UTC (rev 39886)
@@ -1,3 +1,17 @@
+/*!
+ * \file gis/parser_script.c
+ *
+ * \brief GIS Library - Argument parsing functions (script)
+ *
+ * (C) 2001-2009 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.
+ *
+ * \author Original author CERL
+ * \author Soeren Gebbert added Dec. 2009 WPS process_description document
+ */
+
#include "parser_local_proto.h"
void G__script(void)
Modified: grass/trunk/lib/gis/parser_standard_options.c
===================================================================
--- grass/trunk/lib/gis/parser_standard_options.c 2009-12-03 20:15:46 UTC (rev 39885)
+++ grass/trunk/lib/gis/parser_standard_options.c 2009-12-03 20:30:10 UTC (rev 39886)
@@ -1,3 +1,17 @@
+/*!
+ * \file gis/parser_standard_options.c
+ *
+ * \brief GIS Library - Argument parsing functions (standard options)
+ *
+ * (C) 2001-2009 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.
+ *
+ * \author Original author CERL
+ * \author Soeren Gebbert added Dec. 2009 WPS process_description document
+ */
+
#include "parser_local_proto.h"
/*!
@@ -275,7 +289,8 @@
Opt->key_desc = "name";
Opt->required = YES;
Opt->gisprompt = "old,vector,vector";
- Opt->description = _("Name of input vector map");
+ Opt->label = _("Name of input vector map");
+ Opt->description = _("Data source for OGR access");
break;
case G_OPT_V_INPUTS:
Opt->key = "input";
@@ -284,7 +299,8 @@
Opt->required = YES;
Opt->multiple = YES;
Opt->gisprompt = "old,vector,vector";
- Opt->description = _("Name of input vector map(s)");
+ Opt->label = _("Name of input vector map(s)");
+ Opt->description = _("Data source(s) for OGR access");
break;
case G_OPT_V_OUTPUT:
Opt->key = "output";
@@ -300,7 +316,8 @@
Opt->key_desc = "name";
Opt->required = YES;
Opt->gisprompt = "old,vector,vector";
- Opt->description = _("Name of input vector map");
+ Opt->label = _("Name of input vector map");
+ Opt->description = _("Data source for OGR access");
break;
case G_OPT_V_MAPS:
Opt->key = "map";
@@ -337,7 +354,8 @@
Opt->label = _("Layer number or name");
Opt->description =
_("A single vector map can be connected to multiple database "
- "tables. This number determines which table to use.");
+ "tables. This number determines which table to use. If reasonable '-1' selects all vector map layers. "
+ "Layer name for OGR access.");
Opt->gisprompt = "old_layer,layer,layer";
break;
case G_OPT_V_CAT:
More information about the grass-commit
mailing list