[GRASS-SVN] r69600 - grass/trunk/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 28 14:23:10 PDT 2016


Author: mmetz
Date: 2016-09-28 14:23:10 -0700 (Wed, 28 Sep 2016)
New Revision: 69600

Modified:
   grass/trunk/lib/vector/Vlib/merge_lines.c
Log:
Vlib: update documentation for Vect_merge_lines()

Modified: grass/trunk/lib/vector/Vlib/merge_lines.c
===================================================================
--- grass/trunk/lib/vector/Vlib/merge_lines.c	2016-09-28 13:48:13 UTC (rev 69599)
+++ grass/trunk/lib/vector/Vlib/merge_lines.c	2016-09-28 21:23:10 UTC (rev 69600)
@@ -63,8 +63,8 @@
    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 @@
 	 *  - 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");



More information about the grass-commit mailing list