Selaa lähdekoodia

vlib: copy areas - turn is_isle() into debug message (see https://trac.osgeo.org/grass/ticket/2460)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70513 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 vuotta sitten
vanhempi
commit
db1218b3de
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      lib/vector/Vlib/copy.c

+ 3 - 1
lib/vector/Vlib/copy.c

@@ -526,11 +526,13 @@ int Vect__copy_areas(const struct Map_info *In, int field, struct Map_info *Out)
             /* 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;
         }