Explorar el Código

v.clean: revert https://trac.osgeo.org/grass/changeset/57832

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@57834 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz hace 11 años
padre
commit
d840ac3320
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      vector/v.clean/main.c

+ 0 - 5
vector/v.clean/main.c

@@ -303,9 +303,6 @@ int main(int argc, char *argv[])
     native = Vect_maptype(&Out) == GV_FORMAT_NATIVE;
     native = Vect_maptype(&Out) == GV_FORMAT_NATIVE;
 
 
     if (!native) {
     if (!native) {
-	/* area cleaning tools might produce unexpected results for 
-	 * non-native vectors */
-	G_warning(_("Topological cleaning works best with native GRASS vector format"));
 	/* Copy attributes (OGR format) */
 	/* Copy attributes (OGR format) */
 	Vect_copy_map_dblinks(&In, &Out, TRUE);
 	Vect_copy_map_dblinks(&In, &Out, TRUE);
     }
     }
@@ -431,8 +428,6 @@ int main(int argc, char *argv[])
 	    count =
 	    count =
 		Vect_remove_small_areas(&Out, threshs[i], pErr, &size);
 		Vect_remove_small_areas(&Out, threshs[i], pErr, &size);
 	    if (flag.combine->answer && count > 0) {
 	    if (flag.combine->answer && count > 0) {
-		Vect_build_partial(&Out, GV_BUILD_BASE);
-		G_message(SEP);
 		G_message(_("Tool: Merge boundaries"));
 		G_message(_("Tool: Merge boundaries"));
 		Vect_merge_lines(&Out, GV_BOUNDARY, NULL, pErr);
 		Vect_merge_lines(&Out, GV_BOUNDARY, NULL, pErr);
 	    }
 	    }