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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 9 02:33:59 PST 2017


Author: martinl
Date: 2017-02-09 02:33:59 -0800 (Thu, 09 Feb 2017)
New Revision: 70513

Modified:
   grass/trunk/lib/vector/Vlib/copy.c
Log:
vlib: copy areas - turn is_isle() into debug message (see #2460)


Modified: grass/trunk/lib/vector/Vlib/copy.c
===================================================================
--- grass/trunk/lib/vector/Vlib/copy.c	2017-02-09 10:09:38 UTC (rev 70512)
+++ grass/trunk/lib/vector/Vlib/copy.c	2017-02-09 10:33:59 UTC (rev 70513)
@@ -526,11 +526,13 @@
             /* no centroid - check if area forms an isle */
 	    /* this check does not make sense because the area is also
 	     * not exported if it is part of an isle inside another
-	     * area: the isle gets exported as an inner ring */
+	     * area: the isle gets exported as an inner ring
             if (!is_isle(In, area))
                 G_warning(_("No centroid defined for area %d. "
                             "Area not exported."),
                           area);
+            */
+            G_debug(3, "Area %d: is_isle() -> %d", area, is_isle(In, area));
             continue;
         }
         



More information about the grass-commit mailing list