[GRASS-SVN] r46456 - grass/trunk/vector/v.in.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 30 06:57:28 EDT 2011


Author: mmetz
Date: 2011-05-30 03:57:28 -0700 (Mon, 30 May 2011)
New Revision: 46456

Modified:
   grass/trunk/vector/v.in.ogr/main.c
Log:
adjust order of cleaning tools

Modified: grass/trunk/vector/v.in.ogr/main.c
===================================================================
--- grass/trunk/vector/v.in.ogr/main.c	2011-05-30 10:12:37 UTC (rev 46455)
+++ grass/trunk/vector/v.in.ogr/main.c	2011-05-30 10:57:28 UTC (rev 46456)
@@ -1012,7 +1012,12 @@
 		Vect_clean_small_angles_at_nodes(&Tmp, GV_BOUNDARY, NULL);
 	} while (nmodif > 0);
 
+	/* merge boundaries */
 	G_message("%s", separator);
+	G_message(_("Merge boundaries:"));
+	Vect_merge_lines(&Tmp, GV_BOUNDARY, NULL, NULL);
+
+	G_message("%s", separator);
 	if (type & GV_BOUNDARY) {	/* that means lines were converted boundaries */
 	    G_message(_("Change boundary dangles to lines:"));
 	    Vect_chtype_dangles(&Tmp, -1.0, NULL);
@@ -1032,11 +1037,6 @@
 	    Vect_remove_bridges(&Tmp, NULL);
 	}
 
-	/* merge boundaries */
-	G_message("%s", separator);
-	G_message(_("Merge boundaries:"));
-	Vect_merge_lines(&Tmp, GV_BOUNDARY, NULL, NULL);
-
 	/* Boundaries are hopefully clean, build areas */
 	G_message("%s", separator);
 	Vect_build_partial(&Tmp, GV_BUILD_ATTACH_ISLES);



More information about the grass-commit mailing list