[GRASS-SVN] r34360 - grass/branches/develbranch_6/vector/v.overlay
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 18 06:26:43 EST 2008
Author: martinl
Date: 2008-11-18 06:26:43 -0500 (Tue, 18 Nov 2008)
New Revision: 34360
Modified:
grass/branches/develbranch_6/vector/v.overlay/main.c
Log:
v.overlay: don't use standardized parameter description (vector map A/B)
Modified: grass/branches/develbranch_6/vector/v.overlay/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.overlay/main.c 2008-11-18 11:09:33 UTC (rev 34359)
+++ grass/branches/develbranch_6/vector/v.overlay/main.c 2008-11-18 11:26:43 UTC (rev 34360)
@@ -9,7 +9,7 @@
* Markus Neteler <neteler itc.it>,
* Paul Kelly <paul-grass stjohnspoint.co.uk>
* PURPOSE:
- * COPYRIGHT: (C) 2003-2007 by the GRASS Development Team
+ * COPYRIGHT: (C) 2003-2008 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
@@ -56,25 +56,31 @@
module->description = _("Overlays two vector maps.");
in_opt[0] = G_define_standard_option(G_OPT_V_INPUT);
+ in_opt[0]->description = _("Name of input vector map (A)");
in_opt[0]->key = "ainput";
type_opt[0] = G_define_standard_option(G_OPT_V_TYPE);
+ type_opt[0]->label = _("Feature type (vector map A)");
type_opt[0]->key = "atype";
type_opt[0]->options = "line,area";
type_opt[0]->answer = "area";
field_opt[0] = G_define_standard_option(G_OPT_V_FIELD);
+ field_opt[0]->label = _("Layer number (vector map A)");
field_opt[0]->key = "alayer";
in_opt[1] = G_define_standard_option(G_OPT_V_INPUT);
+ in_opt[1]->description = _("Name of input vector map (B)");
in_opt[1]->key = "binput";
type_opt[1] = G_define_standard_option(G_OPT_V_TYPE);
+ type_opt[1]->label = _("Feature type (vector map B)");
type_opt[1]->key = "btype";
type_opt[1]->options = "area";
type_opt[1]->answer = "area";
field_opt[1] = G_define_standard_option(G_OPT_V_FIELD);
+ field_opt[1]->label = _("Layer number (vector map B)");
field_opt[1]->key = "blayer";
out_opt = G_define_standard_option(G_OPT_V_OUTPUT);
@@ -450,7 +456,7 @@
G_fatal_error(_("Unable to create table: '%s'"),
db_get_string(&stmt));
}
-
+
if (db_create_index2(driver, Fi->table, "cat") != DB_OK)
G_warning(_("Unable to create index"));
More information about the grass-commit
mailing list