瀏覽代碼

adjust order of cleaning tools

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46456 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 年之前
父節點
當前提交
973601fcc2
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      vector/v.in.ogr/main.c

+ 5 - 5
vector/v.in.ogr/main.c

@@ -1012,6 +1012,11 @@ int main(int argc, char *argv[])
 		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:"));
@@ -1032,11 +1037,6 @@ int main(int argc, char *argv[])
 	    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);