[GRASS-SVN] r70636 - grass/trunk/vector/v.patch

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 19 19:42:34 PST 2017


Author: hcho
Date: 2017-02-19 19:42:34 -0800 (Sun, 19 Feb 2017)
New Revision: 70636

Modified:
   grass/trunk/vector/v.patch/main.c
Log:
v.patch: build topology after appending

Modified: grass/trunk/vector/v.patch/main.c
===================================================================
--- grass/trunk/vector/v.patch/main.c	2017-02-20 02:40:24 UTC (rev 70635)
+++ grass/trunk/vector/v.patch/main.c	2017-02-20 03:42:34 UTC (rev 70636)
@@ -413,8 +413,11 @@
     Vect_set_map_name(&OutMap, "Output from v.patch");
     Vect_set_person(&OutMap, G_whoami());
 
-    if (!no_topo->answer)
+    if (!no_topo->answer) {
+	if (append->answer)
+	    Vect_build_partial(&OutMap, GV_BUILD_NONE);
 	Vect_build(&OutMap);
+    }
     Vect_close(&OutMap);
 
     if (bbox_name) {



More information about the grass-commit mailing list