[GRASS-SVN] r51173 - in grass/trunk: include lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 28 09:18:29 EDT 2012


Author: martinl
Date: 2012-03-28 06:18:29 -0700 (Wed, 28 Mar 2012)
New Revision: 51173

Modified:
   grass/trunk/include/gis.h
   grass/trunk/lib/gis/parser_standard_options.c
Log:
libgis: add G_FLG_V_TOPO


Modified: grass/trunk/include/gis.h
===================================================================
--- grass/trunk/include/gis.h	2012-03-28 10:28:15 UTC (rev 51172)
+++ grass/trunk/include/gis.h	2012-03-28 13:18:29 UTC (rev 51173)
@@ -257,6 +257,7 @@
 {
     G_FLG_UNDEFINED,
     G_FLG_DB_TABLE,		/* do not create table */
+    G_FLG_V_TOPO,               /* do not build topology */
 } STD_FLG;
 
 /* Message format */

Modified: grass/trunk/lib/gis/parser_standard_options.c
===================================================================
--- grass/trunk/lib/gis/parser_standard_options.c	2012-03-28 10:28:15 UTC (rev 51172)
+++ grass/trunk/lib/gis/parser_standard_options.c	2012-03-28 13:18:29 UTC (rev 51173)
@@ -781,7 +781,8 @@
   If an invalid parameter was specified a empty Flag structure will be
   returned (not NULL).
 
-  - G_FLG_DB_TABLE
+  - G_FLG_DB_TABLE (do not create attribute table)
+  - G_FLG_V_TOPO   (do not build topology)
 
   \param flag type of Flag struct to create
   
@@ -798,7 +799,11 @@
 	Flg->key = 't';
 	Flg->description = _("Do not create attribute table");
 	break;
+    case G_FLG_V_TOPO:
+	Flg->key = 'b';
+	Flg->description = _("Do not build topology");
+	break;
     }
-
+    
     return Flg;
 }



More information about the grass-commit mailing list