Bladeren bron

Vlib: update documentation for Vect_merge_lines()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@69600 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 8 jaren geleden
bovenliggende
commit
180377b6b0
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      lib/vector/Vlib/merge_lines.c

+ 3 - 3
lib/vector/Vlib/merge_lines.c

@@ -63,8 +63,8 @@ static int compare_cats(struct line_cats *ACats, struct line_cats *BCats)
    Useful for generalization and smoothing.
    Adjacent boundaries are merged as long as topology is maintained.
    Adjacent lines are merged as long as there are exactly two different 
-   lines connected at a given node.
-   Categories are added up when merging.
+   lines with identical categories connected at a given node.
+   Zero-length lines need to be removed first.
    GV_BUILD_BASE as topo build level is sufficient, areas need not be built.
 
    \param Map input vector map 
@@ -122,7 +122,7 @@ int Vect_merge_lines(struct Map_info *Map, int type, int *new_lines,
 	 *  - loop back to start boundary via several other boundaries
 	 *  - one boundary forming closed loop
 	 *  - node with 3 entries but only 2 boundaries, one of them connecting twice,
-	 *    the other one must then be topologically incorrect in case of boundary */
+	 *    the other one must then be topologically incorrect (a bridge) in case of boundary */
 
 	/* go backward as long as there is only one other line/boundary at the current node */
 	G_debug(3, "go backward");