|
@@ -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);
|
|
}
|
|
}
|